[llvm] r192044 - Rename this feature to "cx16" to match gcc's flag name. Apparently these strings

Nick Lewycky nicholas at mxc.ca
Sat Oct 5 13:11:44 PDT 2013


Author: nicholas
Date: Sat Oct  5 15:11:44 2013
New Revision: 192044

URL: http://llvm.org/viewvc/llvm-project?rev=192044&view=rev
Log:
Rename this feature to "cx16" to match gcc's flag name. Apparently these strings
are directly tied to the flag names in clang with no remapping in between?

Modified:
    llvm/trunk/lib/Target/X86/X86.td

Modified: llvm/trunk/lib/Target/X86/X86.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86.td?rev=192044&r1=192043&r2=192044&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86.td (original)
+++ llvm/trunk/lib/Target/X86/X86.td Sat Oct  5 15:11:44 2013
@@ -68,7 +68,7 @@ def Feature3DNowA  : SubtargetFeature<"3
 def Feature64Bit   : SubtargetFeature<"64bit", "HasX86_64", "true",
                                       "Support 64-bit instructions",
                                       [FeatureCMOV]>;
-def FeatureCMPXCHG16B : SubtargetFeature<"cmpxchg16b", "HasCmpxchg16b", "true",
+def FeatureCMPXCHG16B : SubtargetFeature<"cx16", "HasCmpxchg16b", "true",
                                       "64-bit with cmpxchg16b",
                                       [Feature64Bit]>;
 def FeatureSlowBTMem : SubtargetFeature<"slow-bt-mem", "IsBTMemSlow", "true",





More information about the llvm-commits mailing list