================
@@ -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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to