Skip to content

Commit aef29a3

Browse files
committed
fixup! don't use tuning for avoid mfence
1 parent 422a1d1 commit aef29a3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

llvm/lib/Target/X86/X86.td

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,6 @@ def TuningUseGLMDivSqrtCosts
772772
def TuningBranchHint: SubtargetFeature<"branch-hint", "HasBranchHint", "true",
773773
"Target has branch hint feature">;
774774

775-
776775
//===----------------------------------------------------------------------===//
777776
// X86 CPU Families
778777
// TODO: Remove these - use general tuning features to determine codegen.
@@ -1269,8 +1268,7 @@ def ProcessorFeatures {
12691268
// Tremont
12701269
list<SubtargetFeature> TRMAdditionalFeatures = [FeatureCLWB,
12711270
FeatureGFNI];
1272-
list<SubtargetFeature> TRMAdditionalTuning = [];
1273-
list<SubtargetFeature> TRMTuning = !listconcat(GLPTuning, TRMAdditionalTuning);
1271+
list<SubtargetFeature> TRMTuning = GLPTuning;
12741272
list<SubtargetFeature> TRMFeatures =
12751273
!listconcat(GLPFeatures, TRMAdditionalFeatures);
12761274

@@ -1742,7 +1740,7 @@ def : ProcModel<P, SandyBridgeModel, [
17421740
[
17431741
TuningMacroFusion,
17441742
TuningSlowUAMem16,
1745-
TuningInsertVZEROUPPER,
1743+
TuningInsertVZEROUPPER
17461744
]>;
17471745
}
17481746
foreach P = ["penryn", "core_2_duo_sse4_1"] in {

0 commit comments

Comments
 (0)