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

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

Issue 696383004: Disable Subzero IR generation for performance testing. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nits. Created 6 years, 1 month 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 \
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
4 8
5 define void @Seli1(i32 %p) { 9 define void @Seli1(i32 %p) {
6 entry: 10 entry:
7 %vc = trunc i32 %p to i1 11 %vc = trunc i32 %p to i1
8 %vt = trunc i32 %p to i1 12 %vt = trunc i32 %p to i1
9 %ve = trunc i32 %p to i1 13 %ve = trunc i32 %p to i1
10 %r = select i1 %vc, i1 %vt, i1 %ve 14 %r = select i1 %vc, i1 %vt, i1 %ve
11 ret void 15 ret void
12 } 16 }
13 17
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 entry: 290 entry:
287 %r = select <4 x i1> %pc, <4 x float> %pt, <4 x float> %pe 291 %r = select <4 x i1> %pc, <4 x float> %pt, <4 x float> %pe
288 ret <4 x float> %r 292 ret <4 x float> %r
289 } 293 }
290 294
291 ; CHECK-NEXT: define <4 x float> @SelV4xfloatVcond(<4 x i1> %pc, <4 x float> %pt , <4 x float> %pe) { 295 ; CHECK-NEXT: define <4 x float> @SelV4xfloatVcond(<4 x i1> %pc, <4 x float> %pt , <4 x float> %pe) {
292 ; CHECK-NEXT: entry: 296 ; CHECK-NEXT: entry:
293 ; CHECK-NEXT: %r = select <4 x i1> %pc, <4 x float> %pt, <4 x float> %pe 297 ; CHECK-NEXT: %r = select <4 x i1> %pc, <4 x float> %pt, <4 x float> %pe
294 ; CHECK-NEXT: ret <4 x float> %r 298 ; CHECK-NEXT: ret <4 x float> %r
295 ; CHECK-NEXT: } 299 ; CHECK-NEXT: }
300
301 ; 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