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

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

Issue 1522433004: eliminate code related to --no-ir-gen (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Changes suggested by stichnot Created 5 years 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/phi.ll ('k') | tests_lit/reader_tests/store.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 if we can read select instructions. 1 ; Tests if we can read select instructions.
2 2
3 ; RUN: %p2i -i %s --insts | FileCheck %s 3 ; RUN: %p2i -i %s --insts | FileCheck %s
4 ; RUN: %if --need=allow_disable_ir_gen --command \ 4 ; RUN: %p2i -i %s --args -notranslate -timing | \
5 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \
6 ; RUN: | %if --need=allow_disable_ir_gen --command \
7 ; RUN: FileCheck --check-prefix=NOIR %s 5 ; RUN: FileCheck --check-prefix=NOIR %s
8 6
9 define internal void @Seli1(i32 %p) { 7 define internal void @Seli1(i32 %p) {
10 entry: 8 entry:
11 %vc = trunc i32 %p to i1 9 %vc = trunc i32 %p to i1
12 %vt = trunc i32 %p to i1 10 %vt = trunc i32 %p to i1
13 %ve = trunc i32 %p to i1 11 %ve = trunc i32 %p to i1
14 %r = select i1 %vc, i1 %vt, i1 %ve 12 %r = select i1 %vc, i1 %vt, i1 %ve
15 ret void 13 ret void
16 } 14 }
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 ret <4 x float> %r 290 ret <4 x float> %r
293 } 291 }
294 292
295 ; CHECK-NEXT: define internal <4 x float> @SelV4xfloatVcond(<4 x i1> %pc, <4 x f loat> %pt, <4 x float> %pe) { 293 ; CHECK-NEXT: define internal <4 x float> @SelV4xfloatVcond(<4 x i1> %pc, <4 x f loat> %pt, <4 x float> %pe) {
296 ; CHECK-NEXT: entry: 294 ; CHECK-NEXT: entry:
297 ; CHECK-NEXT: %r = select <4 x i1> %pc, <4 x float> %pt, <4 x float> %pe 295 ; CHECK-NEXT: %r = select <4 x i1> %pc, <4 x float> %pt, <4 x float> %pe
298 ; CHECK-NEXT: ret <4 x float> %r 296 ; CHECK-NEXT: ret <4 x float> %r
299 ; CHECK-NEXT: } 297 ; CHECK-NEXT: }
300 298
301 ; NOIR: Total across all functions 299 ; NOIR: Total across all functions
OLDNEW
« no previous file with comments | « tests_lit/reader_tests/phi.ll ('k') | tests_lit/reader_tests/store.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698