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

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: Created 6 years, 2 months 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
« pydir/buildatts.py ('K') | « tests_lit/lit.cfg ('k') | no next file » | 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: %m2i -i %s --insts | %ifm FileCheck %s
3 ; RUN: %p2i -i %s --insts | FileCheck %s 4 ; RUN: %p2i -i %s --insts | FileCheck %s
5 ; RUN: %l2i -i %s --insts | FileCheck %s
6 ; RUN: %lc2i -i %s --insts | FileCheck %s
4 7
5 ; TODO(kschimpf): add i8/i16. Needs bitcasts. 8 ; TODO(kschimpf): add i8/i16. Needs bitcasts.
6 9
7 define i32 @AddI32(i32 %a, i32 %b) { 10 define i32 @AddI32(i32 %a, i32 %b) {
8 entry: 11 entry:
9 %add = add i32 %b, %a 12 %add = add i32 %b, %a
10 ret i32 %add 13 ret i32 %add
11 } 14 }
12 15
13 ; CHECK: define i32 @AddI32(i32 %a, i32 %b) { 16 ; CHECK: define i32 @AddI32(i32 %a, i32 %b) {
(...skipping 942 matching lines...) Expand 10 before | Expand all | Expand 10 after
956 entry: 959 entry:
957 %lshr = lshr <4 x i32> %b, %a 960 %lshr = lshr <4 x i32> %b, %a
958 ret <4 x i32> %lshr 961 ret <4 x i32> %lshr
959 } 962 }
960 963
961 ; CHECK-NEXT: define <4 x i32> @LshrV4I32(<4 x i32> %a, <4 x i32> %b) { 964 ; CHECK-NEXT: define <4 x i32> @LshrV4I32(<4 x i32> %a, <4 x i32> %b) {
962 ; CHECK-NEXT: entry: 965 ; CHECK-NEXT: entry:
963 ; CHECK-NEXT: %lshr = lshr <4 x i32> %b, %a 966 ; CHECK-NEXT: %lshr = lshr <4 x i32> %b, %a
964 ; CHECK-NEXT: ret <4 x i32> %lshr 967 ; CHECK-NEXT: ret <4 x i32> %lshr
965 ; CHECK-NEXT: } 968 ; CHECK-NEXT: }
OLDNEW
« pydir/buildatts.py ('K') | « tests_lit/lit.cfg ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698