Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(506)

Side by Side Diff: tests_lit/reader_tests/insertextract.ll

Issue 600043002: Clean up run script to use for testing Subzero. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fixes for rebase from master. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tests_lit/reader_tests/globalinit.pnacl.ll ('k') | tests_lit/reader_tests/load.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ; Tests insertelement and extractelement vector instructions. 1 ; Tests insertelement and extractelement vector instructions.
2 2
3 3 ; RUN: %p2i -i %s --insts | FileCheck %s
4 ; RUN: llvm-as < %s | pnacl-freeze -allow-local-symbol-tables \
5 ; RUN: | %llvm2ice -notranslate -verbose=inst -build-on-read \
6 ; RUN: -allow-pnacl-reader-error-recovery \
7 ; RUN: -allow-local-symbol-tables \
8 ; RUN: | FileCheck %s
9 4
10 ; TODO(kschimpf): Change index arguments to valid constant indices once 5 ; TODO(kschimpf): Change index arguments to valid constant indices once
11 ; we can handle constants. 6 ; we can handle constants.
12 7
13 define void @ExtractV4xi1(<4 x i1> %v, i32 %i) { 8 define void @ExtractV4xi1(<4 x i1> %v, i32 %i) {
14 entry: 9 entry:
15 %e = extractelement <4 x i1> %v, i32 %i 10 %e = extractelement <4 x i1> %v, i32 %i
16 ret void 11 ret void
17 } 12 }
18 13
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 entry: 175 entry:
181 %r = insertelement <4 x float> %v, float %e, i32 %i 176 %r = insertelement <4 x float> %v, float %e, i32 %i
182 ret <4 x float> %r 177 ret <4 x float> %r
183 } 178 }
184 179
185 ; CHECK-NEXT: define <4 x float> @InsertV4xfloat(<4 x float> %v, float %e, i32 % i) { 180 ; CHECK-NEXT: define <4 x float> @InsertV4xfloat(<4 x float> %v, float %e, i32 % i) {
186 ; CHECK-NEXT: entry: 181 ; CHECK-NEXT: entry:
187 ; CHECK-NEXT: %r = insertelement <4 x float> %v, float %e, i32 %i 182 ; CHECK-NEXT: %r = insertelement <4 x float> %v, float %e, i32 %i
188 ; CHECK-NEXT: ret float %r 183 ; CHECK-NEXT: ret float %r
189 ; CHECK-NEXT: } 184 ; CHECK-NEXT: }
OLDNEW
« no previous file with comments | « tests_lit/reader_tests/globalinit.pnacl.ll ('k') | tests_lit/reader_tests/load.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698