[llvm] 4f1258f - [X86] Change tuning of Sierraforest and Grandridge to more latest target (#84179)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 6 17:52:44 PST 2024
Author: Phoebe Wang
Date: 2024-03-07T09:52:40+08:00
New Revision: 4f1258fd913a65338c8fbf5cf38163b4e026964a
URL: https://github.com/llvm/llvm-project/commit/4f1258fd913a65338c8fbf5cf38163b4e026964a
DIFF: https://github.com/llvm/llvm-project/commit/4f1258fd913a65338c8fbf5cf38163b4e026964a.diff
LOG: [X86] Change tuning of Sierraforest and Grandridge to more latest target (#84179)
Added:
Modified:
llvm/lib/Target/X86/X86.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86.td b/llvm/lib/Target/X86/X86.td
index e89ddcc570c96c..a2a65ce75d6b9a 100644
--- a/llvm/lib/Target/X86/X86.td
+++ b/llvm/lib/Target/X86/X86.td
@@ -1701,10 +1701,6 @@ foreach P = ["goldmont_plus", "goldmont-plus"] in {
}
def : ProcModel<"tremont", SLMModel, ProcessorFeatures.TRMFeatures,
ProcessorFeatures.TRMTuning>;
-foreach P = ["sierraforest", "grandridge"] in {
- def : ProcModel<P, AlderlakePModel, ProcessorFeatures.SRFFeatures,
- ProcessorFeatures.TRMTuning>;
-}
// "Arrandale" along with corei3 and corei5
foreach P = ["nehalem", "corei7", "core_i7_sse4_2"] in {
@@ -1779,6 +1775,10 @@ def : ProcModel<"alderlake", AlderlakePModel,
// FIXME: Use Gracemont Schedule Model when it is ready.
def : ProcModel<"gracemont", AlderlakePModel,
ProcessorFeatures.ADLFeatures, ProcessorFeatures.GRTTuning>;
+foreach P = ["sierraforest", "grandridge"] in {
+ def : ProcModel<P, AlderlakePModel, ProcessorFeatures.SRFFeatures,
+ ProcessorFeatures.GRTTuning>;
+}
def : ProcModel<"raptorlake", AlderlakePModel,
ProcessorFeatures.ADLFeatures, ProcessorFeatures.ADLTuning>;
def : ProcModel<"meteorlake", AlderlakePModel,
More information about the llvm-commits
mailing list