From 1747e9685055ee3fd83cb44285d6be413c4fd172 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Fri, 13 Oct 2017 16:04:08 +0000 Subject: [PATCH] [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 --- lib/Target/X86/X86.td | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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