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