]> granicus.if.org Git - llvm/commitdiff
[X86] Add ProcIntelBDW to BroadwellProc class not BDWFeatures class.
authorCraig Topper <craig.topper@intel.com>
Fri, 13 Oct 2017 16:04:08 +0000 (16:04 +0000)
committerCraig Topper <craig.topper@intel.com>
Fri, 13 Oct 2017 16:04:08 +0000 (16:04 +0000)
This isn't a property we want inherited.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315695 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86.td

index 9111fc7010267c46421763ead0051069bd772221..22f682f96612ddaf28ec5f6a961754544fabbafb 100644 (file)
@@ -579,18 +579,19 @@ def HSWFeatures : ProcessorFeatures<IVBFeatures.Value, [
 
 class HaswellProc<string Name> : ProcModel<Name, HaswellModel,
                                            HSWFeatures.Value, [
-    ProcIntelHSW
-  ]>;
+  ProcIntelHSW
+]>;
 def : HaswellProc<"haswell">;
 def : HaswellProc<"core-avx2">; // Legacy alias.
 
 def BDWFeatures : ProcessorFeatures<HSWFeatures.Value, [
-  ProcIntelBDW,
   FeatureADX,
   FeatureRDSEED
 ]>;
 class BroadwellProc<string Name> : ProcModel<Name, HaswellModel,
-                                             BDWFeatures.Value, []>;
+                                             BDWFeatures.Value, [
+  ProcIntelBDW
+]>;
 def : BroadwellProc<"broadwell">;
 
 def SKLFeatures : ProcessorFeatures<BDWFeatures.Value, [