mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-22 03:03:43 +00:00
[AArch64] Replace underscores with dashes in -mgeneral_regs_only.
This should now match the equivalent gcc option. llvm-svn: 200008
This commit is contained in:
parent
db99eee490
commit
05d816d0e2
@ -1061,7 +1061,7 @@ are listed below.
|
||||
|
||||
CRC instructions are enabled by default on ARMv8.
|
||||
|
||||
.. option:: -mgeneral_regs_only
|
||||
.. option:: -mgeneral-regs-only
|
||||
|
||||
Generate code which only uses the general purpose registers.
|
||||
|
||||
|
@ -1054,7 +1054,7 @@ def mcrc : Flag<["-"], "mcrc">, Group<m_arm_Features_Group>,
|
||||
def mnocrc : Flag<["-"], "mnocrc">, Group<m_arm_Features_Group>,
|
||||
HelpText<"Disallow use of CRC instructions (ARM only)">;
|
||||
|
||||
def mgeneral_regs_only : Flag<["-"], "mgeneral_regs_only">, Group<m_aarch64_Features_Group>,
|
||||
def mgeneral_regs_only : Flag<["-"], "mgeneral-regs-only">, Group<m_aarch64_Features_Group>,
|
||||
HelpText<"Generate code which only uses the general purpose registers (AArch64 only)">;
|
||||
|
||||
def mvsx : Flag<["-"], "mvsx">, Group<m_ppc_Features_Group>;
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Test the -mgeneral_regs_only option
|
||||
// Test the -mgeneral-regs-only option
|
||||
|
||||
// RUN: %clang -target aarch64-linux-eabi -mgeneral_regs_only %s -### 2>&1 \
|
||||
// RUN: %clang -target aarch64-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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user