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

Side by Side Diff: tests_lit/reader_tests/casts.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/call-indirect.ll ('k') | tests_lit/reader_tests/compare.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 cast operations. 1 ; Tests if we can read cast operations.
2 2
3 ; RUN: llvm-as < %s | pnacl-freeze \ 3 ; RUN: %p2i -i %s --insts --no-local-syms | FileCheck %s
4 ; RUN: | %llvm2ice -notranslate -verbose=inst -build-on-read \
5 ; RUN: -allow-pnacl-reader-error-recovery \
6 ; RUN: | FileCheck %s
7 4
8 ; TODO(kschimpf) Find way to test pointer conversions (since they in general 5 ; TODO(kschimpf) Find way to test pointer conversions (since they in general
9 ; get removed by pnacl-freeze). 6 ; get removed by pnacl-freeze).
10 7
11 define i32 @TruncI64(i64 %v) { 8 define i32 @TruncI64(i64 %v) {
12 %v1 = trunc i64 %v to i1 9 %v1 = trunc i64 %v to i1
13 %v8 = trunc i64 %v to i8 10 %v8 = trunc i64 %v to i8
14 %v16 = trunc i64 %v to i16 11 %v16 = trunc i64 %v to i16
15 %v32 = trunc i64 %v to i32 12 %v32 = trunc i64 %v to i32
16 ret i32 %v32 13 ret i32 %v32
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 ret void 525 ret void
529 } 526 }
530 527
531 ; CHECK-NEXT: define void @BitcastV16xi8(<16 x i8> %__0) { 528 ; CHECK-NEXT: define void @BitcastV16xi8(<16 x i8> %__0) {
532 ; CHECK-NEXT: __0: 529 ; CHECK-NEXT: __0:
533 ; CHECK-NEXT: %__1 = bitcast <16 x i8> %__0 to <4 x float> 530 ; CHECK-NEXT: %__1 = bitcast <16 x i8> %__0 to <4 x float>
534 ; CHECK-NEXT: %__2 = bitcast <16 x i8> %__0 to <4 x i32> 531 ; CHECK-NEXT: %__2 = bitcast <16 x i8> %__0 to <4 x i32>
535 ; CHECK-NEXT: %__3 = bitcast <16 x i8> %__0 to <8 x i16> 532 ; CHECK-NEXT: %__3 = bitcast <16 x i8> %__0 to <8 x i16>
536 ; CHECK-NEXT: ret void 533 ; CHECK-NEXT: ret void
537 ; CHECK-NEXT: } 534 ; CHECK-NEXT: }
OLDNEW
« no previous file with comments | « tests_lit/reader_tests/call-indirect.ll ('k') | tests_lit/reader_tests/compare.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698