Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Driver / aarch64-mgeneral_regs_only.c
blob07e837f94975ff923bf73a15a488caa7aa3f43f5
1 // Test the -mgeneral-regs-only option
3 // RUN: %clang --target=aarch64-linux-eabi -mgeneral-regs-only %s -### 2>&1 \
4 // RUN: | FileCheck --check-prefix=CHECK-NO-FP %s
5 // RUN: %clang --target=arm64-linux-eabi -mgeneral-regs-only %s -### 2>&1 \
6 // RUN: | FileCheck --check-prefix=CHECK-NO-FP %s
7 // CHECK-NO-FP: "-target-feature" "-fp-armv8"
8 // CHECK-NO-FP: "-target-feature" "-crypto"
9 // CHECK-NO-FP: "-target-feature" "-neon"