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

Side by Side Diff: tests_lit/reader_tests/compare.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/casts.ll ('k') | tests_lit/reader_tests/constants.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 ; Test if we can read compare instructions. 1 ; Test if we can read compare 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 i1 @IcmpI1(i32 %p1, i32 %p2) { 9 define i1 @IcmpI1(i32 %p1, i32 %p2) {
6 entry: 10 entry:
7 %a1 = trunc i32 %p1 to i1 11 %a1 = trunc i32 %p1 to i1
8 %a2 = trunc i32 %p2 to i1 12 %a2 = trunc i32 %p2 to i1
9 %veq = icmp eq i1 %a1, %a2 13 %veq = icmp eq i1 %a1, %a2
10 %vne = icmp ne i1 %a1, %a2 14 %vne = icmp ne i1 %a1, %a2
11 %vugt = icmp ugt i1 %a1, %a2 15 %vugt = icmp ugt i1 %a1, %a2
12 %vuge = icmp uge i1 %a1, %a2 16 %vuge = icmp uge i1 %a1, %a2
13 %vult = icmp ult i1 %a1, %a2 17 %vult = icmp ult i1 %a1, %a2
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 ; CHECK-NEXT: %vueq = fcmp ueq <4 x float> %a1, %a2 466 ; CHECK-NEXT: %vueq = fcmp ueq <4 x float> %a1, %a2
463 ; CHECK-NEXT: %vugt = fcmp ugt <4 x float> %a1, %a2 467 ; CHECK-NEXT: %vugt = fcmp ugt <4 x float> %a1, %a2
464 ; CHECK-NEXT: %vuge = fcmp uge <4 x float> %a1, %a2 468 ; CHECK-NEXT: %vuge = fcmp uge <4 x float> %a1, %a2
465 ; CHECK-NEXT: %vult = fcmp ult <4 x float> %a1, %a2 469 ; CHECK-NEXT: %vult = fcmp ult <4 x float> %a1, %a2
466 ; CHECK-NEXT: %vule = fcmp ule <4 x float> %a1, %a2 470 ; CHECK-NEXT: %vule = fcmp ule <4 x float> %a1, %a2
467 ; CHECK-NEXT: %vune = fcmp une <4 x float> %a1, %a2 471 ; CHECK-NEXT: %vune = fcmp une <4 x float> %a1, %a2
468 ; CHECK-NEXT: %vuno = fcmp uno <4 x float> %a1, %a2 472 ; CHECK-NEXT: %vuno = fcmp uno <4 x float> %a1, %a2
469 ; CHECK-NEXT: %vtrue = fcmp true <4 x float> %a1, %a2 473 ; CHECK-NEXT: %vtrue = fcmp true <4 x float> %a1, %a2
470 ; CHECK-NEXT: ret <4 x i1> %voeq 474 ; CHECK-NEXT: ret <4 x i1> %voeq
471 ; CHECK-NEXT: } 475 ; CHECK-NEXT: }
476
477 ; NOIR: Total across all functions
OLDNEW
« no previous file with comments | « tests_lit/reader_tests/casts.ll ('k') | tests_lit/reader_tests/constants.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698