Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / tls-maxalign-modflag.c
blobd2936b66eda6df8331efcc41f010544bddf0f789
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 -S -emit-llvm -o - %s | FileCheck %s
5 // RUN: %clang_cc1 -triple x86_64-scei-ps5 -S -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]]