Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Driver / aarch64-cortex-x2.c
blob9c6153e5beb48fb5b684ad81d2168a73f94ce14a
1 // RUN: %clang --target=aarch64 -mcpu=cortex-x2 -### -c %s 2>&1 | FileCheck -check-prefix=CORTEX-X2 %s
2 // CORTEX-X2: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-cpu" "cortex-x2"
3 // CORTEX-X2-NOT: "-target-feature" "{{[+-]}}sm4"
4 // CORTEX-X2-NOT: "-target-feature" "{{[+-]}}sha3"
5 // CORTEX-X2-NOT: "-target-feature" "{{[+-]}}aes"
6 // CORTEX-X2-SAME: {{$}}
7 // RUN: %clang --target=aarch64 -mcpu=cortex-x2+crypto -### -c %s 2>&1 | FileCheck -check-prefix=CORTEX-X2-CRYPTO %s
8 // CORTEX-X2-CRYPTO: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-feature" "+sm4" "-target-feature" "+sha3" "-target-feature" "+sha2" "-target-feature" "+aes"