Skip to content

Commit 4f1258f

Browse files
authored
[X86] Change tuning of Sierraforest and Grandridge to more latest target (#84179)
1 parent 9fe5aa3 commit 4f1258f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/lib/Target/X86/X86.td

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1701,10 +1701,6 @@ foreach P = ["goldmont_plus", "goldmont-plus"] in {
17011701
}
17021702
def : ProcModel<"tremont", SLMModel, ProcessorFeatures.TRMFeatures,
17031703
ProcessorFeatures.TRMTuning>;
1704-
foreach P = ["sierraforest", "grandridge"] in {
1705-
def : ProcModel<P, AlderlakePModel, ProcessorFeatures.SRFFeatures,
1706-
ProcessorFeatures.TRMTuning>;
1707-
}
17081704

17091705
// "Arrandale" along with corei3 and corei5
17101706
foreach P = ["nehalem", "corei7", "core_i7_sse4_2"] in {
@@ -1779,6 +1775,10 @@ def : ProcModel<"alderlake", AlderlakePModel,
17791775
// FIXME: Use Gracemont Schedule Model when it is ready.
17801776
def : ProcModel<"gracemont", AlderlakePModel,
17811777
ProcessorFeatures.ADLFeatures, ProcessorFeatures.GRTTuning>;
1778+
foreach P = ["sierraforest", "grandridge"] in {
1779+
def : ProcModel<P, AlderlakePModel, ProcessorFeatures.SRFFeatures,
1780+
ProcessorFeatures.GRTTuning>;
1781+
}
17821782
def : ProcModel<"raptorlake", AlderlakePModel,
17831783
ProcessorFeatures.ADLFeatures, ProcessorFeatures.ADLTuning>;
17841784
def : ProcModel<"meteorlake", AlderlakePModel,

0 commit comments

Comments
 (0)