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

Side by Side Diff: tests_lit/reader_tests/binops.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 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: %p2i -i %s --args -notranslate -timing -noIRgen \
7 ; RUN: | %if --need=allow_disable_ir_gen \
8 ; RUN: --command FileCheck --check-prefix=NOIR %s
6 9
7 ; TODO(kschimpf): add i8/i16. Needs bitcasts. 10 ; TODO(kschimpf): add i8/i16. Needs bitcasts.
8 11
9 define i32 @AddI32(i32 %a, i32 %b) { 12 define i32 @AddI32(i32 %a, i32 %b) {
10 entry: 13 entry:
11 %add = add i32 %b, %a 14 %add = add i32 %b, %a
12 ret i32 %add 15 ret i32 %add
13 } 16 }
14 17
15 ; CHECK: define i32 @AddI32(i32 %a, i32 %b) { 18 ; CHECK: define i32 @AddI32(i32 %a, i32 %b) {
(...skipping 942 matching lines...) Expand 10 before | Expand all | Expand 10 after
958 entry: 961 entry:
959 %lshr = lshr <4 x i32> %b, %a 962 %lshr = lshr <4 x i32> %b, %a
960 ret <4 x i32> %lshr 963 ret <4 x i32> %lshr
961 } 964 }
962 965
963 ; CHECK-NEXT: define <4 x i32> @LshrV4I32(<4 x i32> %a, <4 x i32> %b) { 966 ; CHECK-NEXT: define <4 x i32> @LshrV4I32(<4 x i32> %a, <4 x i32> %b) {
964 ; CHECK-NEXT: entry: 967 ; CHECK-NEXT: entry:
965 ; CHECK-NEXT: %lshr = lshr <4 x i32> %b, %a 968 ; CHECK-NEXT: %lshr = lshr <4 x i32> %b, %a
966 ; CHECK-NEXT: ret <4 x i32> %lshr 969 ; CHECK-NEXT: ret <4 x i32> %lshr
967 ; CHECK-NEXT: } 970 ; CHECK-NEXT: }
971
972 ; NOIR: Total across all functions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698