OLD | NEW |
1 ; Tests if we can read cast operations. | 1 ; Tests if we can read cast operations. |
2 | 2 |
3 ; REQUIRES: allow_dump | |
4 | |
5 ; RUN: %p2i -i %s --insts --no-local-syms | FileCheck %s | 3 ; RUN: %p2i -i %s --insts --no-local-syms | FileCheck %s |
6 ; RUN: %if --need=allow_disable_ir_gen --command \ | 4 ; RUN: %if --need=allow_disable_ir_gen --command \ |
7 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \ | 5 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \ |
8 ; RUN: | %if --need=allow_disable_ir_gen --command \ | 6 ; RUN: | %if --need=allow_disable_ir_gen --command \ |
9 ; RUN: FileCheck --check-prefix=NOIR %s | 7 ; RUN: FileCheck --check-prefix=NOIR %s |
10 | 8 |
11 ; TODO(kschimpf) Find way to test pointer conversions (since they in general | 9 ; TODO(kschimpf) Find way to test pointer conversions (since they in general |
12 ; get removed by pnacl-freeze). | 10 ; get removed by pnacl-freeze). |
13 | 11 |
14 define i32 @TruncI64(i64 %v) { | 12 define i32 @TruncI64(i64 %v) { |
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
533 | 531 |
534 ; CHECK-NEXT: define void @BitcastV16xi8(<16 x i8> %__0) { | 532 ; CHECK-NEXT: define void @BitcastV16xi8(<16 x i8> %__0) { |
535 ; CHECK-NEXT: __0: | 533 ; CHECK-NEXT: __0: |
536 ; CHECK-NEXT: %__1 = bitcast <16 x i8> %__0 to <4 x float> | 534 ; CHECK-NEXT: %__1 = bitcast <16 x i8> %__0 to <4 x float> |
537 ; CHECK-NEXT: %__2 = bitcast <16 x i8> %__0 to <4 x i32> | 535 ; CHECK-NEXT: %__2 = bitcast <16 x i8> %__0 to <4 x i32> |
538 ; CHECK-NEXT: %__3 = bitcast <16 x i8> %__0 to <8 x i16> | 536 ; CHECK-NEXT: %__3 = bitcast <16 x i8> %__0 to <8 x i16> |
539 ; CHECK-NEXT: ret void | 537 ; CHECK-NEXT: ret void |
540 ; CHECK-NEXT: } | 538 ; CHECK-NEXT: } |
541 | 539 |
542 ; NOIR: Total across all functions | 540 ; NOIR: Total across all functions |
OLD | NEW |