r200008 - [AArch64] Replace underscores with dashes in -mgeneral_regs_only.

Amara Emerson amara.emerson at arm.com
Fri Jan 24 07:15:28 PST 2014


Author: aemerson
Date: Fri Jan 24 09:15:27 2014
New Revision: 200008

URL: http://llvm.org/viewvc/llvm-project?rev=200008&view=rev
Log:
[AArch64] Replace underscores with dashes in -mgeneral_regs_only.

This should now match the equivalent gcc option.

Modified:
    cfe/trunk/docs/UsersManual.rst
    cfe/trunk/include/clang/Driver/Options.td
    cfe/trunk/test/Driver/aarch64-mgeneral_regs_only.c

Modified: cfe/trunk/docs/UsersManual.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/UsersManual.rst?rev=200008&r1=200007&r2=200008&view=diff
==============================================================================
--- cfe/trunk/docs/UsersManual.rst (original)
+++ cfe/trunk/docs/UsersManual.rst Fri Jan 24 09:15:27 2014
@@ -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.
 

Modified: cfe/trunk/include/clang/Driver/Options.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/Options.td?rev=200008&r1=200007&r2=200008&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/Options.td (original)
+++ cfe/trunk/include/clang/Driver/Options.td Fri Jan 24 09:15:27 2014
@@ -1054,7 +1054,7 @@ def mcrc : Flag<["-"], "mcrc">, Group<m_
 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>;

Modified: cfe/trunk/test/Driver/aarch64-mgeneral_regs_only.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/aarch64-mgeneral_regs_only.c?rev=200008&r1=200007&r2=200008&view=diff
==============================================================================
--- cfe/trunk/test/Driver/aarch64-mgeneral_regs_only.c (original)
+++ cfe/trunk/test/Driver/aarch64-mgeneral_regs_only.c Fri Jan 24 09:15:27 2014
@@ -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"





More information about the cfe-commits mailing list