[llvm] r315695 - [X86] Add ProcIntelBDW to BroadwellProc class not BDWFeatures class.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 13 09:04:08 PDT 2017
Author: ctopper
Date: Fri Oct 13 09:04:08 2017
New Revision: 315695
URL: http://llvm.org/viewvc/llvm-project?rev=315695&view=rev
Log:
[X86] Add ProcIntelBDW to BroadwellProc class not BDWFeatures class.
This isn't a property we want inherited.
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=315695&r1=315694&r2=315695&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86.td (original)
+++ llvm/trunk/lib/Target/X86/X86.td Fri Oct 13 09:04:08 2017
@@ -579,18 +579,19 @@ def HSWFeatures : ProcessorFeatures<IVBF
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, [
More information about the llvm-commits
mailing list