brintos

brintos / llvm-project-archived public Read only

0
0
Text · 408 B · 26dde56 Raw
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