Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Driver / indirect-tls-seg-refs.c
blobc3628e7beab4f5d0173d97d76cabcce72ab79438
1 // REQUIRES: x86-registered-target
3 // RUN: %clang -### -target x86_64-unknown-linux %s 2>&1 | FileCheck %s -check-prefix=TLSDIRECT
4 // RUN: %clang -### -target x86_64-unknown-linux -mno-tls-direct-seg-refs -mtls-direct-seg-refs %s 2>&1 | FileCheck %s -check-prefix=TLSDIRECT
5 // RUN: %clang -### -target x86_64-unknown-linux -mtls-direct-seg-refs -mno-tls-direct-seg-refs %s 2>&1 | FileCheck %s -check-prefix=NO-TLSDIRECT
7 // NO-TLSDIRECT: -mno-tls-direct-seg-refs
8 // TLSDIRECT-NOT: -mno-tls-direct-seg-refs