9 lines · c
1// Test the -mgeneral-regs-only option2 3// RUN: %clang --target=aarch64 -mgeneral-regs-only %s -### 2>&1 \4// RUN: | FileCheck --check-prefix=CHECK-NO-FP %s5// RUN: %clang --target=arm64-linux-eabi -mgeneral-regs-only %s -### 2>&1 \6// RUN: | FileCheck --check-prefix=CHECK-NO-FP %s7// CHECK-NO-FP: "-target-feature" "-fp-armv8"8// CHECK-NO-FP: "-target-feature" "-neon"9