diff options
author | Phoebe Wang <phoebe.wang@intel.com> | 2024-03-07 09:52:40 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-07 09:52:40 +0800 |
commit | 4f1258fd913a65338c8fbf5cf38163b4e026964a (patch) | |
tree | 0dfe2907984e8185579c37fb386ab5d32cb1b420 | |
parent | 9fe5aa31eccff49632e40bcdad6e64fc00190889 (diff) | |
download | llvm-4f1258fd913a65338c8fbf5cf38163b4e026964a.zip llvm-4f1258fd913a65338c8fbf5cf38163b4e026964a.tar.gz llvm-4f1258fd913a65338c8fbf5cf38163b4e026964a.tar.bz2 |
[X86] Change tuning of Sierraforest and Grandridge to more latest target (#84179)
-rw-r--r-- | llvm/lib/Target/X86/X86.td | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/X86/X86.td b/llvm/lib/Target/X86/X86.td index e89ddcc..a2a65ce 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, |