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

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

Issue 1522433004: eliminate code related to --no-ir-gen (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Changes suggested by stichnot Created 5 years 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.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: %p2i -i %s --insts --no-local-syms | FileCheck %s 3 ; RUN: %p2i -i %s --insts --no-local-syms | FileCheck %s
4 ; RUN: %if --need=allow_disable_ir_gen --command \ 4 ; RUN: %p2i -i %s --args -notranslate -timing | \
5 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \
6 ; RUN: | %if --need=allow_disable_ir_gen --command \
7 ; RUN: FileCheck --check-prefix=NOIR %s 5 ; RUN: FileCheck --check-prefix=NOIR %s
8 6
9 ; TODO(kschimpf) Find way to test pointer conversions (since they in general 7 ; TODO(kschimpf) Find way to test pointer conversions (since they in general
10 ; get removed by pnacl-freeze). 8 ; get removed by pnacl-freeze).
11 9
12 define internal i32 @TruncI64(i64 %v) { 10 define internal i32 @TruncI64(i64 %v) {
13 %v1 = trunc i64 %v to i1 11 %v1 = trunc i64 %v to i1
14 %v8 = trunc i64 %v to i8 12 %v8 = trunc i64 %v to i8
15 %v16 = trunc i64 %v to i16 13 %v16 = trunc i64 %v to i16
16 %v32 = trunc i64 %v to i32 14 %v32 = trunc i64 %v to i32
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 529
532 ; CHECK-NEXT: define internal void @BitcastV16xi8(<16 x i8> %__0) { 530 ; CHECK-NEXT: define internal void @BitcastV16xi8(<16 x i8> %__0) {
533 ; CHECK-NEXT: __0: 531 ; CHECK-NEXT: __0:
534 ; CHECK-NEXT: %__1 = bitcast <16 x i8> %__0 to <4 x float> 532 ; CHECK-NEXT: %__1 = bitcast <16 x i8> %__0 to <4 x float>
535 ; CHECK-NEXT: %__2 = bitcast <16 x i8> %__0 to <4 x i32> 533 ; CHECK-NEXT: %__2 = bitcast <16 x i8> %__0 to <4 x i32>
536 ; CHECK-NEXT: %__3 = bitcast <16 x i8> %__0 to <8 x i16> 534 ; CHECK-NEXT: %__3 = bitcast <16 x i8> %__0 to <8 x i16>
537 ; CHECK-NEXT: ret void 535 ; CHECK-NEXT: ret void
538 ; CHECK-NEXT: } 536 ; CHECK-NEXT: }
539 537
540 ; NOIR: Total across all functions 538 ; NOIR: Total across all functions
OLDNEW
« no previous file with comments | « tests_lit/reader_tests/call.ll ('k') | tests_lit/reader_tests/compare.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698