Skip to content

Commit 2bfb20c

Browse files
committed
Reviewer suggestions
1 parent 85603c4 commit 2bfb20c

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

llvm/lib/Target/X86/X86.td

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1883,10 +1883,10 @@ def : ProcModel<P, AlderlakePModel,
18831883
}
18841884
def : ProcModel<"lunarlake", LunarlakePModel, ProcessorFeatures.ARLSFeatures,
18851885
ProcessorFeatures.ADLTuning>;
1886-
def : ProcModel<"pantherlake", AlderlakePModel,
1886+
foreach P = ["pantherlake", "wildcatlake"] in {
1887+
def : ProcModel<P, AlderlakePModel,
18871888
ProcessorFeatures.PTLFeatures, ProcessorFeatures.ADLTuning>;
1888-
def : ProcModel<"wildcatlake", AlderlakePModel,
1889-
ProcessorFeatures.WCLFeatures, ProcessorFeatures.ADLTuning>;
1889+
}
18901890
def : ProcModel<"clearwaterforest", AlderlakePModel,
18911891
ProcessorFeatures.CWFFeatures, ProcessorFeatures.ADLTuning>;
18921892
def : ProcModel<"emeraldrapids", SapphireRapidsModel,

llvm/lib/TargetParser/X86TargetParser.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ constexpr FeatureBitset FeaturesArrowlakeS =
176176
FeatureSM4;
177177
constexpr FeatureBitset FeaturesPantherlake =
178178
(FeaturesArrowlakeS ^ FeatureWIDEKL) | FeaturePREFETCHI;
179-
constexpr FeatureBitset FeaturesWildcatlake = FeaturesPantherlake;
180179
constexpr FeatureBitset FeaturesClearwaterforest =
181180
(FeaturesSierraforest ^ FeatureWIDEKL) | FeatureAVXVNNIINT16 |
182181
FeatureSHA512 | FeatureSM3 | FeatureSM4 | FeaturePREFETCHI | FeatureUSERMSR;
@@ -379,7 +378,7 @@ constexpr ProcInfo Processors[] = {
379378
{ {"gracemont"}, CK_Gracemont, FEATURE_AVX2, FeaturesAlderlake, 'p', false },
380379
// Pantherlake microarchitecture based processors.
381380
{ {"pantherlake"}, CK_Lunarlake, FEATURE_AVX2, FeaturesPantherlake, 'p', false },
382-
{ {"wildcatlake"}, CK_Lunarlake, FEATURE_AVX2, FeaturesWildcatlake, 'p', false },
381+
{ {"wildcatlake"}, CK_Lunarlake, FEATURE_AVX2, FeaturesPantherlake, 'p', false },
383382
// Sierraforest microarchitecture based processors.
384383
{ {"sierraforest"}, CK_Sierraforest, FEATURE_AVX2, FeaturesSierraforest, 'p', false },
385384
// Grandridge microarchitecture based processors.

0 commit comments

Comments
 (0)