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

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

Powered by Google App Engine
This is Rietveld 408576698