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

Side by Side Diff: tests_lit/reader_tests/compare.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/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 \ 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 i1 @IcmpI1(i32 %p1, i32 %p2) { 7 define internal i1 @IcmpI1(i32 %p1, i32 %p2) {
10 entry: 8 entry:
11 %a1 = trunc i32 %p1 to i1 9 %a1 = trunc i32 %p1 to i1
12 %a2 = trunc i32 %p2 to i1 10 %a2 = trunc i32 %p2 to i1
13 %veq = icmp eq i1 %a1, %a2 11 %veq = icmp eq i1 %a1, %a2
14 %vne = icmp ne i1 %a1, %a2 12 %vne = icmp ne i1 %a1, %a2
15 %vugt = icmp ugt i1 %a1, %a2 13 %vugt = icmp ugt i1 %a1, %a2
16 %vuge = icmp uge i1 %a1, %a2 14 %vuge = icmp uge i1 %a1, %a2
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 ; CHECK-NEXT: %vuge = fcmp uge <4 x float> %a1, %a2 466 ; CHECK-NEXT: %vuge = fcmp uge <4 x float> %a1, %a2
469 ; CHECK-NEXT: %vult = fcmp ult <4 x float> %a1, %a2 467 ; CHECK-NEXT: %vult = fcmp ult <4 x float> %a1, %a2
470 ; CHECK-NEXT: %vule = fcmp ule <4 x float> %a1, %a2 468 ; CHECK-NEXT: %vule = fcmp ule <4 x float> %a1, %a2
471 ; CHECK-NEXT: %vune = fcmp une <4 x float> %a1, %a2 469 ; CHECK-NEXT: %vune = fcmp une <4 x float> %a1, %a2
472 ; CHECK-NEXT: %vuno = fcmp uno <4 x float> %a1, %a2 470 ; CHECK-NEXT: %vuno = fcmp uno <4 x float> %a1, %a2
473 ; CHECK-NEXT: %vtrue = fcmp true <4 x float> %a1, %a2 471 ; CHECK-NEXT: %vtrue = fcmp true <4 x float> %a1, %a2
474 ; CHECK-NEXT: ret <4 x i1> %voeq 472 ; CHECK-NEXT: ret <4 x i1> %voeq
475 ; CHECK-NEXT: } 473 ; CHECK-NEXT: }
476 474
477 ; NOIR: Total across all functions 475 ; 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