llvm-project/clang/test/CodeGen/tls-maxalign-modflag.c
Edd Dawson 05ce95ef04
[PS5][clang][test] x86_64-scei-ps5 -> x86_64-sie-ps5 in tests (#105810)
`x86_64-sie-ps5` is the triple we share with PS5 toolchain users who
have reason to care about such things. The vast majority of PS5 checks
and tests already use this variant. Quashing the handful of stragglers
will help prevent future copy+paste of the discouraged variant.
2024-08-23 15:58:00 +01:00

13 lines
408 B
C

// REQUIRES: x86-registered-target
// Test that we get the module flag TLSMaxAlign on the PS platforms.
// RUN: %clang_cc1 -triple x86_64-scei-ps4 -emit-llvm -o - %s | FileCheck %s
// RUN: %clang_cc1 -triple x86_64-sie-ps5 -emit-llvm -o - %s | FileCheck %s
int main(void) {
return 0;
}
// CHECK-DAG: ![[MDID:[0-9]+]] = !{i32 1, !"MaxTLSAlign", i32 256}
// CHECK-DAG: llvm.module.flags = {{.*}}![[MDID]]