[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / CodeGen / tls-maxalign-modflag.c
blob26dde569f389c9b0f6ed4babc9c1d817565ac325
1 // REQUIRES: x86-registered-target
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 %s
5 // RUN: %clang_cc1 -triple x86_64-sie-ps5 -emit-llvm -o - %s | FileCheck %s
7 int main(void) {
8 return 0;
11 // CHECK-DAG: ![[MDID:[0-9]+]] = !{i32 1, !"MaxTLSAlign", i32 256}
12 // CHECK-DAG: llvm.module.flags = {{.*}}![[MDID]]