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