[llvm] [X86] Enable zmms generation on NVL and DMR by default (PR #168413)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 17 10:04:12 PST 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-x86
Author: Mikołaj Piróg (mikolaj-pirog)
<details>
<summary>Changes</summary>
As in title.
---
Full diff: https://github.com/llvm/llvm-project/pull/168413.diff
1 Files Affected:
- (modified) llvm/lib/Target/X86/X86.td (+4-2)
``````````diff
diff --git a/llvm/lib/Target/X86/X86.td b/llvm/lib/Target/X86/X86.td
index 27ec052cfda40..ee1953ece87ba 100644
--- a/llvm/lib/Target/X86/X86.td
+++ b/llvm/lib/Target/X86/X86.td
@@ -1177,6 +1177,7 @@ def ProcessorFeatures {
FeatureAMXTF32];
list<SubtargetFeature> DMRFeatures =
!listconcat(GNRDFeatures, DMRAdditionalFeatures);
+ list<SubtargetFeature> DMRTuning = !listremove(GNRTuning, [TuningPrefer256Bit]);
// Atom
list<SubtargetFeature> AtomFeatures = [FeatureX87,
@@ -1346,6 +1347,7 @@ def ProcessorFeatures {
FeaturePREFETCHI];
list<SubtargetFeature> NVLFeatures =
!listconcat(PTLFeatures, NVLAdditionalFeatures);
+ list<SubtargetFeature> NVLTuning = !listremove(ADLTuning, [TuningPrefer256Bit]);
// Clearwaterforest
list<SubtargetFeature> CWFAdditionalFeatures = [FeaturePREFETCHI,
@@ -1893,7 +1895,7 @@ def : ProcModel<P, AlderlakePModel,
ProcessorFeatures.PTLFeatures, ProcessorFeatures.ADLTuning>;
}
def : ProcModel<"novalake", AlderlakePModel, ProcessorFeatures.NVLFeatures,
- ProcessorFeatures.ADLTuning>;
+ ProcessorFeatures.NVLTuning>;
def : ProcModel<"clearwaterforest", AlderlakePModel,
ProcessorFeatures.CWFFeatures, ProcessorFeatures.ADLTuning>;
@@ -1906,7 +1908,7 @@ def : ProcModel<P, SapphireRapidsModel,
ProcessorFeatures.GNRDFeatures, ProcessorFeatures.GNRTuning>;
}
def : ProcModel<"diamondrapids", SapphireRapidsModel,
- ProcessorFeatures.DMRFeatures, ProcessorFeatures.GNRTuning>;
+ ProcessorFeatures.DMRFeatures, ProcessorFeatures.DMRTuning>;
// AMD CPUs.
``````````
</details>
https://github.com/llvm/llvm-project/pull/168413
More information about the llvm-commits
mailing list