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

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 issues in patch set 2, and add tests. 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
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: %p2i -i %s --args -notranslate -timing -noIRgen \
5 ; RUN: | %if --need=allow_disable_ir_gen \
6 ; RUN: --command FileCheck --check-prefix=NOIR %s
4 7
5 define void @Seli1(i32 %p) { 8 define void @Seli1(i32 %p) {
6 entry: 9 entry:
7 %vc = trunc i32 %p to i1 10 %vc = trunc i32 %p to i1
8 %vt = trunc i32 %p to i1 11 %vt = trunc i32 %p to i1
9 %ve = trunc i32 %p to i1 12 %ve = trunc i32 %p to i1
10 %r = select i1 %vc, i1 %vt, i1 %ve 13 %r = select i1 %vc, i1 %vt, i1 %ve
11 ret void 14 ret void
12 } 15 }
13 16
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 entry: 289 entry:
287 %r = select <4 x i1> %pc, <4 x float> %pt, <4 x float> %pe 290 %r = select <4 x i1> %pc, <4 x float> %pt, <4 x float> %pe
288 ret <4 x float> %r 291 ret <4 x float> %r
289 } 292 }
290 293
291 ; CHECK-NEXT: define <4 x float> @SelV4xfloatVcond(<4 x i1> %pc, <4 x float> %pt , <4 x float> %pe) { 294 ; CHECK-NEXT: define <4 x float> @SelV4xfloatVcond(<4 x i1> %pc, <4 x float> %pt , <4 x float> %pe) {
292 ; CHECK-NEXT: entry: 295 ; CHECK-NEXT: entry:
293 ; CHECK-NEXT: %r = select <4 x i1> %pc, <4 x float> %pt, <4 x float> %pe 296 ; CHECK-NEXT: %r = select <4 x i1> %pc, <4 x float> %pt, <4 x float> %pe
294 ; CHECK-NEXT: ret <4 x float> %r 297 ; CHECK-NEXT: ret <4 x float> %r
295 ; CHECK-NEXT: } 298 ; CHECK-NEXT: }
299
300 ; NOIR: Total across all functions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698