[X86] Add CMOV feature to 'i686' processor, making it a proper alias of pentiumpro...
authorCraig Topper <craig.topper@intel.com>
Wed, 1 Nov 2017 22:15:40 +0000 (22:15 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 1 Nov 2017 22:15:40 +0000 (22:15 +0000)
This is consistent with current gcc behavior.

llvm-svn: 317133

llvm/lib/Target/X86/X86.td

index 840b3b4..7143843 100644 (file)
@@ -327,7 +327,7 @@ def : Proc<"i486",            [FeatureX87, FeatureSlowUAMem16]>;
 def : Proc<"i586",            [FeatureX87, FeatureSlowUAMem16]>;
 def : Proc<"pentium",         [FeatureX87, FeatureSlowUAMem16]>;
 def : Proc<"pentium-mmx",     [FeatureX87, FeatureSlowUAMem16, FeatureMMX]>;
-def : Proc<"i686",            [FeatureX87, FeatureSlowUAMem16]>;
+def : Proc<"i686",            [FeatureX87, FeatureSlowUAMem16, FeatureCMOV]>;
 def : Proc<"pentiumpro",      [FeatureX87, FeatureSlowUAMem16, FeatureCMOV]>;
 def : Proc<"pentium2",        [FeatureX87, FeatureSlowUAMem16, FeatureMMX,
                                FeatureCMOV, FeatureFXSR]>;