OLD | NEW |
1 ; Test if we can read store instructions. | 1 ; Test if we can read store instructions. |
2 | 2 |
| 3 ; REQUIRES: allow_dump |
| 4 |
3 ; RUN: %p2i -i %s --insts --no-local-syms | FileCheck %s | 5 ; RUN: %p2i -i %s --insts --no-local-syms | FileCheck %s |
4 ; RUN: %if --need=allow_disable_ir_gen --command \ | 6 ; RUN: %if --need=allow_disable_ir_gen --command \ |
5 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \ | 7 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \ |
6 ; RUN: | %if --need=allow_disable_ir_gen --command \ | 8 ; RUN: | %if --need=allow_disable_ir_gen --command \ |
7 ; RUN: FileCheck --check-prefix=NOIR %s | 9 ; RUN: FileCheck --check-prefix=NOIR %s |
8 | 10 |
9 define void @store_i8(i32 %addr) { | 11 define void @store_i8(i32 %addr) { |
10 entry: | 12 entry: |
11 %addr_i8 = inttoptr i32 %addr to i8* | 13 %addr_i8 = inttoptr i32 %addr to i8* |
12 store i8 3, i8* %addr_i8, align 1 | 14 store i8 3, i8* %addr_i8, align 1 |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 %addr_v4xFloat = inttoptr i32 %addr to <4 x float>* | 134 %addr_v4xFloat = inttoptr i32 %addr to <4 x float>* |
133 store <4 x float> %v, <4 x float>* %addr_v4xFloat, align 4 | 135 store <4 x float> %v, <4 x float>* %addr_v4xFloat, align 4 |
134 ret void | 136 ret void |
135 | 137 |
136 ; CHECK: __0: | 138 ; CHECK: __0: |
137 ; CHECK-NEXT: store <4 x float> %__1, <4 x float>* %__0, align 4 | 139 ; CHECK-NEXT: store <4 x float> %__1, <4 x float>* %__0, align 4 |
138 ; CHECK-NEXT: ret void | 140 ; CHECK-NEXT: ret void |
139 } | 141 } |
140 | 142 |
141 ; NOIR: Total across all functions | 143 ; NOIR: Total across all functions |
OLD | NEW |