summaryrefslogtreecommitdiff
path: root/test/Driver/aarch64-mgeneral_regs_only.c
blob: 43172c7bd6f7de631b2cfe81585e3263073089dc (plain)
1
2
3
4
5
6
7
8
9
// Test the -mgeneral-regs-only option

// RUN: %clang -target aarch64-linux-eabi -mgeneral-regs-only %s -### 2>&1 \
// RUN:   | FileCheck --check-prefix=CHECK-NO-FP %s
// RUN: %clang -target arm64-linux-eabi -mgeneral-regs-only %s -### 2>&1 \
// RUN:   | FileCheck --check-prefix=CHECK-NO-FP %s
// CHECK-NO-FP: "-target-feature" "-fp-armv8"
// CHECK-NO-FP: "-target-feature" "-crypto"
// CHECK-NO-FP: "-target-feature" "-neon"