[llvm] c2fb400 - [X86] Fix tuning for emeraldrapids (#98123)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 9 18:45:06 PDT 2024
Author: Feng Zou
Date: 2024-07-10T09:45:02+08:00
New Revision: c2fb400c45706697e3d6991f59dbc713e1e4668f
URL: https://github.com/llvm/llvm-project/commit/c2fb400c45706697e3d6991f59dbc713e1e4668f
DIFF: https://github.com/llvm/llvm-project/commit/c2fb400c45706697e3d6991f59dbc713e1e4668f.diff
LOG: [X86] Fix tuning for emeraldrapids (#98123)
The incorrect tuning is introduced by #97721.
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 fdd7d5f1ee0e7..8cb003b838d06 100644
--- a/llvm/lib/Target/X86/X86.td
+++ b/llvm/lib/Target/X86/X86.td
@@ -1821,10 +1821,10 @@ def : ProcModel<"pantherlake", AlderlakePModel,
ProcessorFeatures.PTLFeatures, ProcessorFeatures.ADLTuning>;
def : ProcModel<"clearwaterforest", AlderlakePModel,
ProcessorFeatures.CWFFeatures, ProcessorFeatures.ADLTuning>;
+def : ProcModel<"emeraldrapids", SapphireRapidsModel,
+ ProcessorFeatures.SPRFeatures, ProcessorFeatures.SPRTuning>;
def : ProcModel<"graniterapids", SapphireRapidsModel,
ProcessorFeatures.GNRFeatures, ProcessorFeatures.GNRTuning>;
-def : ProcModel<"emeraldrapids", SapphireRapidsModel,
- ProcessorFeatures.SPRFeatures, ProcessorFeatures.GNRTuning>;
foreach P = ["graniterapids-d", "graniterapids_d"] in {
def : ProcModel<P, SapphireRapidsModel,
ProcessorFeatures.GNRDFeatures, ProcessorFeatures.GNRTuning>;
More information about the llvm-commits
mailing list