From: Craig Topper Date: Fri, 13 Oct 2017 16:04:08 +0000 (+0000) Subject: [X86] Add ProcIntelBDW to BroadwellProc class not BDWFeatures class. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1747e9685055ee3fd83cb44285d6be413c4fd172;p=llvm [X86] Add ProcIntelBDW to BroadwellProc class not BDWFeatures class. 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 --- diff --git a/lib/Target/X86/X86.td b/lib/Target/X86/X86.td index 9111fc70102..22f682f9661 100644 --- a/lib/Target/X86/X86.td +++ b/lib/Target/X86/X86.td @@ -579,18 +579,19 @@ def HSWFeatures : ProcessorFeatures : ProcModel; + ProcIntelHSW +]>; def : HaswellProc<"haswell">; def : HaswellProc<"core-avx2">; // Legacy alias. def BDWFeatures : ProcessorFeatures; class BroadwellProc : ProcModel; + BDWFeatures.Value, [ + ProcIntelBDW +]>; def : BroadwellProc<"broadwell">; def SKLFeatures : ProcessorFeatures