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

Side by Side Diff: tests_lit/reader_tests/binops.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 ; Tests if we can read binary operators. 1 ; Tests if we can read binary operators.
2 2
3 ; RUN: %p2i -i %s --insts | FileCheck %s 3 ; RUN: %p2i -i %s --insts | FileCheck %s
4 ; RUN: %l2i -i %s --insts | %ifl FileCheck %s 4 ; RUN: %l2i -i %s --insts | %ifl FileCheck %s
5 ; RUN: %lc2i -i %s --insts | %iflc FileCheck %s 5 ; RUN: %lc2i -i %s --insts | %iflc FileCheck %s
6 ; RUN: %if --need=allow_disable_ir_gen --command \ 6 ; RUN: %if --need=allow_disable_ir_gen --command \
7 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \ 7 ; RUN: %p2i -i %s --args -notranslate -timing \
8 ; RUN: | %if --need=allow_disable_ir_gen --command \ 8 ; RUN: | %if --need=allow_disable_ir_gen --command \
9 ; RUN: FileCheck --check-prefix=NOIR %s 9 ; RUN: FileCheck --check-prefix=NOIR %s
10 10
11 ; TODO(kschimpf): add i8/i16. Needs bitcasts. 11 ; TODO(kschimpf): add i8/i16. Needs bitcasts.
12 12
13 define internal i32 @AddI32(i32 %a, i32 %b) { 13 define internal i32 @AddI32(i32 %a, i32 %b) {
14 entry: 14 entry:
15 %add = add i32 %b, %a 15 %add = add i32 %b, %a
16 ret i32 %add 16 ret i32 %add
17 } 17 }
(...skipping 946 matching lines...) Expand 10 before | Expand all | Expand 10 after
964 ret <4 x i32> %lshr 964 ret <4 x i32> %lshr
965 } 965 }
966 966
967 ; CHECK-NEXT: define internal <4 x i32> @LshrV4I32(<4 x i32> %a, <4 x i32> %b) { 967 ; CHECK-NEXT: define internal <4 x i32> @LshrV4I32(<4 x i32> %a, <4 x i32> %b) {
968 ; CHECK-NEXT: entry: 968 ; CHECK-NEXT: entry:
969 ; CHECK-NEXT: %lshr = lshr <4 x i32> %b, %a 969 ; CHECK-NEXT: %lshr = lshr <4 x i32> %b, %a
970 ; CHECK-NEXT: ret <4 x i32> %lshr 970 ; CHECK-NEXT: ret <4 x i32> %lshr
971 ; CHECK-NEXT: } 971 ; CHECK-NEXT: }
972 972
973 ; NOIR: Total across all functions 973 ; NOIR: Total across all functions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698