[clang] [llvm] [X86] Remove WIDEKL feature from Pantherlake and Clearwaterforest (PR #148184)
Simon Pilgrim via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 18 01:47:44 PDT 2025
================
@@ -176,10 +176,10 @@ constexpr FeatureBitset FeaturesArrowlakeS =
FeaturesArrowlake | FeatureAVXVNNIINT16 | FeatureSHA512 | FeatureSM3 |
FeatureSM4;
constexpr FeatureBitset FeaturesPantherlake =
- FeaturesArrowlakeS | FeaturePREFETCHI;
+ FeaturesArrowlakeS ^ FeatureWIDEKL | FeaturePREFETCHI;
----------------
RKSimon wrote:
@phoebewang I'm seeing gcc warnings:
```
/home/simon/LLVM/llvm-project/llvm/lib/TargetParser/X86TargetParser.cpp:179:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
179 | FeaturesArrowlakeS ^ FeatureWIDEKL | FeaturePREFETCHI;
/home/simon/LLVM/llvm-project/llvm/lib/TargetParser/X86TargetParser.cpp:181:26: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
181 | FeaturesSierraforest ^ FeatureWIDEKL | FeatureAVXVNNIINT16 | FeatureSHA512 |
```
Please can you add the appropriate parentheses?
https://github.com/llvm/llvm-project/pull/148184
More information about the cfe-commits
mailing list