Skip to content

Commit d2e0645

Browse files
fzou1aaryanshukla
authored andcommitted
[X86] Fix tuning for emeraldrapids (llvm#98123)
The incorrect tuning is introduced by llvm#97721.
1 parent ab2f377 commit d2e0645

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/X86/X86.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1821,10 +1821,10 @@ def : ProcModel<"pantherlake", AlderlakePModel,
18211821
ProcessorFeatures.PTLFeatures, ProcessorFeatures.ADLTuning>;
18221822
def : ProcModel<"clearwaterforest", AlderlakePModel,
18231823
ProcessorFeatures.CWFFeatures, ProcessorFeatures.ADLTuning>;
1824+
def : ProcModel<"emeraldrapids", SapphireRapidsModel,
1825+
ProcessorFeatures.SPRFeatures, ProcessorFeatures.SPRTuning>;
18241826
def : ProcModel<"graniterapids", SapphireRapidsModel,
18251827
ProcessorFeatures.GNRFeatures, ProcessorFeatures.GNRTuning>;
1826-
def : ProcModel<"emeraldrapids", SapphireRapidsModel,
1827-
ProcessorFeatures.SPRFeatures, ProcessorFeatures.GNRTuning>;
18281828
foreach P = ["graniterapids-d", "graniterapids_d"] in {
18291829
def : ProcModel<P, SapphireRapidsModel,
18301830
ProcessorFeatures.GNRDFeatures, ProcessorFeatures.GNRTuning>;

0 commit comments

Comments
 (0)