|
27 | 27 | // RUN: %clang_cc1 -no-enable-noundef-analysis -triple arm64_32-apple-ios -O3 -disable-llvm-passes -fexperimental-max-bitint-width=1024 -emit-llvm -o - %s | FileCheck %s --check-prefixes=AARCH64
|
28 | 28 | // RUN: %clang_cc1 -no-enable-noundef-analysis -triple arm64_32-apple-ios -target-abi darwinpcs -O3 -disable-llvm-passes -emit-llvm -o - %s | FileCheck %s --check-prefixes=AARCH64DARWIN
|
29 | 29 | // RUN: %clang_cc1 -no-enable-noundef-analysis -triple arm -O3 -disable-llvm-passes -emit-llvm -o - %s | FileCheck %s --check-prefixes=ARM
|
30 |
| -// RUN: %clang_cc1 -no-enable-noundef-analysis -triple loongarch64 -O3 -disable-llvm-passes -emit-llvm -o - %s | FileCheck %s --check-prefixes=LA64 |
31 |
| -// RUN: %clang_cc1 -no-enable-noundef-analysis -triple loongarch32 -O3 -disable-llvm-passes -emit-llvm -o - %s | FileCheck %s --check-prefixes=LA32 |
| 30 | +// RUN: %clang_cc1 -no-enable-noundef-analysis -triple loongarch64 -O3 -disable-llvm-passes -fexperimental-max-bitint-width=1024 -emit-llvm -o - %s | FileCheck %s --check-prefixes=LA64 |
| 31 | +// RUN: %clang_cc1 -no-enable-noundef-analysis -triple loongarch32 -O3 -disable-llvm-passes -fexperimental-max-bitint-width=1024 -emit-llvm -o - %s | FileCheck %s --check-prefixes=LA32 |
32 | 32 |
|
33 | 33 | // Make sure 128 and 64 bit versions are passed like integers.
|
34 | 34 | void ParamPassing(_BitInt(128) b, _BitInt(64) c) {}
|
@@ -158,8 +158,8 @@ void ParamPassing4(_BitInt(129) a) {}
|
158 | 158 | // PPC32-NOT: define{{.*}} void @ParamPassing4(ptr byval(i129) align 8 %{{.+}})
|
159 | 159 | // AARCH64DARWIN-NOT: define{{.*}} void @ParamPassing4(ptr byval(i129) align 8 %{{.+}})
|
160 | 160 | // ARM-NOT: define{{.*}} arm_aapcscc void @ParamPassing4(ptr byval(i129) align 8 %{{.+}})
|
161 |
| -// LA64-NOT: define{{.*}} void @ParamPassing4(ptr %{{.+}}) |
162 |
| -// LA32-NOT: define{{.*}} void @ParamPassing4(ptr %{{.+}}) |
| 161 | +// LA64: define{{.*}} void @ParamPassing4(ptr %{{.+}}) |
| 162 | +// LA32: define{{.*}} void @ParamPassing4(ptr %{{.+}}) |
163 | 163 | #endif
|
164 | 164 |
|
165 | 165 | _BitInt(63) ReturnPassing(void) { return 0; }
|
@@ -317,8 +317,8 @@ _BitInt(129) ReturnPassing5(void) { return 0; }
|
317 | 317 | // PPC32-NOT: define{{.*}} void @ReturnPassing5(ptr dead_on_unwind noalias writable sret
|
318 | 318 | // AARCH64DARWIN-NOT: define{{.*}} void @ReturnPassing5(ptr dead_on_unwind noalias writable sret
|
319 | 319 | // ARM-NOT: define{{.*}} arm_aapcscc void @ReturnPassing5(ptr dead_on_unwind noalias writable sret
|
320 |
| -// LA64-NOT: define{{.*}} void @ReturnPassing5(ptr dead_on_unwind noalias writable sret |
321 |
| -// LA32-NOT: define{{.*}} void @ReturnPassing5(ptr dead_on_unwind noalias writable sret |
| 320 | +// LA64: define{{.*}} void @ReturnPassing5(ptr dead_on_unwind noalias writable sret |
| 321 | +// LA32: define{{.*}} void @ReturnPassing5(ptr dead_on_unwind noalias writable sret |
322 | 322 |
|
323 | 323 | // SparcV9 is odd in that it has a return-size limit of 256, not 128 or 64
|
324 | 324 | // like other platforms, so test to make sure this behavior will still work.
|
|
0 commit comments