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

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
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: %if --need=allow_disable_ir_gen --command \
5 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \ 5 ; RUN: %p2i -i %s --args -notranslate -timing \
6 ; RUN: | %if --need=allow_disable_ir_gen --command \ 6 ; RUN: | %if --need=allow_disable_ir_gen --command \
7 ; RUN: FileCheck --check-prefix=NOIR %s 7 ; RUN: FileCheck --check-prefix=NOIR %s
8 8
9 define internal i1 @IcmpI1(i32 %p1, i32 %p2) { 9 define internal i1 @IcmpI1(i32 %p1, i32 %p2) {
10 entry: 10 entry:
11 %a1 = trunc i32 %p1 to i1 11 %a1 = trunc i32 %p1 to i1
12 %a2 = trunc i32 %p2 to i1 12 %a2 = trunc i32 %p2 to i1
13 %veq = icmp eq i1 %a1, %a2 13 %veq = icmp eq i1 %a1, %a2
14 %vne = icmp ne i1 %a1, %a2 14 %vne = icmp ne i1 %a1, %a2
15 %vugt = icmp ugt i1 %a1, %a2 15 %vugt = icmp ugt i1 %a1, %a2
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 ; CHECK-NEXT: %vuge = fcmp uge <4 x float> %a1, %a2 468 ; CHECK-NEXT: %vuge = fcmp uge <4 x float> %a1, %a2
469 ; CHECK-NEXT: %vult = fcmp ult <4 x float> %a1, %a2 469 ; CHECK-NEXT: %vult = fcmp ult <4 x float> %a1, %a2
470 ; CHECK-NEXT: %vule = fcmp ule <4 x float> %a1, %a2 470 ; CHECK-NEXT: %vule = fcmp ule <4 x float> %a1, %a2
471 ; CHECK-NEXT: %vune = fcmp une <4 x float> %a1, %a2 471 ; CHECK-NEXT: %vune = fcmp une <4 x float> %a1, %a2
472 ; CHECK-NEXT: %vuno = fcmp uno <4 x float> %a1, %a2 472 ; CHECK-NEXT: %vuno = fcmp uno <4 x float> %a1, %a2
473 ; CHECK-NEXT: %vtrue = fcmp true <4 x float> %a1, %a2 473 ; CHECK-NEXT: %vtrue = fcmp true <4 x float> %a1, %a2
474 ; CHECK-NEXT: ret <4 x i1> %voeq 474 ; CHECK-NEXT: ret <4 x i1> %voeq
475 ; CHECK-NEXT: } 475 ; CHECK-NEXT: }
476 476
477 ; NOIR: Total across all functions 477 ; NOIR: Total across all functions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698