mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 00:56:05 +00:00

`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.
13 lines
408 B
C
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]]
|