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

Side by Side Diff: tests_lit/reader_tests/binops.ll

Issue 659513005: Allow conditional lit tests in Subzero, based on build flags. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Add -Wno-error=unused-parameter 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
5 ; RUN: %lc2i -i %s --insts | %iflc FileCheck %s
4 6
5 ; TODO(kschimpf): add i8/i16. Needs bitcasts. 7 ; TODO(kschimpf): add i8/i16. Needs bitcasts.
6 8
7 define i32 @AddI32(i32 %a, i32 %b) { 9 define i32 @AddI32(i32 %a, i32 %b) {
8 entry: 10 entry:
9 %add = add i32 %b, %a 11 %add = add i32 %b, %a
10 ret i32 %add 12 ret i32 %add
11 } 13 }
12 14
13 ; CHECK: define i32 @AddI32(i32 %a, i32 %b) { 15 ; CHECK: define i32 @AddI32(i32 %a, i32 %b) {
(...skipping 942 matching lines...) Expand 10 before | Expand all | Expand 10 after
956 entry: 958 entry:
957 %lshr = lshr <4 x i32> %b, %a 959 %lshr = lshr <4 x i32> %b, %a
958 ret <4 x i32> %lshr 960 ret <4 x i32> %lshr
959 } 961 }
960 962
961 ; CHECK-NEXT: define <4 x i32> @LshrV4I32(<4 x i32> %a, <4 x i32> %b) { 963 ; CHECK-NEXT: define <4 x i32> @LshrV4I32(<4 x i32> %a, <4 x i32> %b) {
962 ; CHECK-NEXT: entry: 964 ; CHECK-NEXT: entry:
963 ; CHECK-NEXT: %lshr = lshr <4 x i32> %b, %a 965 ; CHECK-NEXT: %lshr = lshr <4 x i32> %b, %a
964 ; CHECK-NEXT: ret <4 x i32> %lshr 966 ; CHECK-NEXT: ret <4 x i32> %lshr
965 ; CHECK-NEXT: } 967 ; CHECK-NEXT: }
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/struct-arith.pnacl.ll ('k') | tests_lit/reader_tests/extern_globals.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698