|
1 |
| -// RUN: tco %s | FileCheck %s |
| 1 | +// RUN: %if aarch64-registered-target %{tco --target=aarch64-unknown-linux-gnu %s | FileCheck %s --check-prefixes=CHECK,CHECK-AARCH64 %} |
| 2 | +// RUN: %if x86-registered-target %{tco --target=x86_64-unknown-linux-gnu %s | FileCheck %s --check-prefixes=CHECK,CHECK-X86 %} |
| 3 | +// RUN: %if powerpc-registered-target %{tco --target=powerpc64le-unknown-linux-gnu %s | FileCheck %s --check-prefixes=CHECK,CHECK-PPC %} |
2 | 4 |
|
3 | 5 | // CHECK-LABEL: define void @_QPtest_proc_dummy()
|
4 |
| -// CHECK: %[[VAL_3:.*]] = alloca [32 x i8], i64 1, align 1 |
| 6 | +// CHECK-AARCH64: %[[VAL_3:.*]] = alloca [36 x i8], i64 1, align 1 |
| 7 | +// CHECK-X86: %[[VAL_3:.*]] = alloca [32 x i8], i64 1, align 1 |
| 8 | +// CHECK-PPC: %[[VAL_3:.*]] = alloca [4{{[0-8]+}} x i8], i64 1, align 1 |
5 | 9 | // CHECK: %[[VAL_1:.*]] = alloca { ptr }, i64 1, align 8
|
6 | 10 | // CHECK: %[[VAL_0:.*]] = alloca i32, i64 1, align 4
|
7 | 11 | // CHECK: %[[VAL_2:.*]] = getelementptr { ptr }, ptr %[[VAL_1]], i32 0, i32 0
|
@@ -59,7 +63,9 @@ func.func @_QPtest_proc_dummy_other(%arg0: !fir.boxproc<() -> ()>) {
|
59 | 63 | }
|
60 | 64 |
|
61 | 65 | // CHECK-LABEL: define void @_QPtest_proc_dummy_char()
|
62 |
| -// CHECK: %[[VAL_20:.*]] = alloca [32 x i8], i64 1, align 1 |
| 66 | +// CHECK-AARCH64: %[[VAL_20:.*]] = alloca [36 x i8], i64 1, align 1 |
| 67 | +// CHECK-X86: %[[VAL_20:.*]] = alloca [32 x i8], i64 1, align 1 |
| 68 | +// CHECK-PPC: %[[VAL_20:.*]] = alloca [4{{[0-8]+}} x i8], i64 1, align 1 |
63 | 69 | // CHECK: %[[VAL_2:.*]] = alloca { { ptr, i64 } }, i64 1, align 8
|
64 | 70 | // CHECK: %[[VAL_1:.*]] = alloca [10 x i8], i64 1, align 1
|
65 | 71 | // CHECK: %[[VAL_0:.*]] = alloca [40 x i8], i64 1, align 1
|
|
0 commit comments