[llvm] [X86] Change tuning of Sierraforest and Grandridge to more latest target (PR #84179)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 6 17:52:18 PST 2024


================
@@ -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,
----------------
phoebewang wrote:

I think not. There's no GRTModel and the Gracemont is using AlderlakePModel as well.

I think we can improve it in the future, but not need to do with this patch.

https://github.com/llvm/llvm-project/pull/84179


More information about the llvm-commits mailing list