[llvm] [X86] Fix tuning for emeraldrapids (PR #98123)
Feng Zou via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 9 00:39:52 PDT 2024
https://github.com/fzou1 created https://github.com/llvm/llvm-project/pull/98123
The incorrect tuning is introduced by #97721.
>From 25af553ad3244ade5081e4cf19d4512e2ba2068f Mon Sep 17 00:00:00 2001
From: Feng Zou <feng.zou at intel.com>
Date: Tue, 9 Jul 2024 15:35:23 +0800
Subject: [PATCH] [X86] Fix tuning for emeraldrapids
The tuning is introduced by #97721.
---
llvm/lib/Target/X86/X86.td | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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