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

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

Issue 600043002: Clean up run script to use for testing Subzero. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fixes for rebase from master. 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
« 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: llvm-as < %s | pnacl-freeze -allow-local-symbol-tables \ 3 ; RUN: %p2i -i %s --insts | FileCheck %s
4 ; RUN: | %llvm2ice -notranslate -verbose=inst -build-on-read \
5 ; RUN: -allow-pnacl-reader-error-recovery \
6 ; RUN: -allow-local-symbol-tables \
7 ; RUN: | FileCheck %s
8 4
9 ; TODO(kschimpf): add i8/i16. Needs bitcasts. 5 ; TODO(kschimpf): add i8/i16. Needs bitcasts.
10 6
11 define i32 @AddI32(i32 %a, i32 %b) { 7 define i32 @AddI32(i32 %a, i32 %b) {
12 entry: 8 entry:
13 %add = add i32 %b, %a 9 %add = add i32 %b, %a
14 ret i32 %add 10 ret i32 %add
15 } 11 }
16 12
17 ; CHECK: define i32 @AddI32(i32 %a, i32 %b) { 13 ; CHECK: define i32 @AddI32(i32 %a, i32 %b) {
(...skipping 942 matching lines...) Expand 10 before | Expand all | Expand 10 after
960 entry: 956 entry:
961 %lshr = lshr <4 x i32> %b, %a 957 %lshr = lshr <4 x i32> %b, %a
962 ret <4 x i32> %lshr 958 ret <4 x i32> %lshr
963 } 959 }
964 960
965 ; CHECK-NEXT: define <4 x i32> @LshrV4I32(<4 x i32> %a, <4 x i32> %b) { 961 ; CHECK-NEXT: define <4 x i32> @LshrV4I32(<4 x i32> %a, <4 x i32> %b) {
966 ; CHECK-NEXT: entry: 962 ; CHECK-NEXT: entry:
967 ; CHECK-NEXT: %lshr = lshr <4 x i32> %b, %a 963 ; CHECK-NEXT: %lshr = lshr <4 x i32> %b, %a
968 ; CHECK-NEXT: ret <4 x i32> %lshr 964 ; CHECK-NEXT: ret <4 x i32> %lshr
969 ; CHECK-NEXT: } 965 ; CHECK-NEXT: }
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