[llvm] 32ca368 - [PPC][NFC] Remove duplicate processor feature from pwr9/10/11 and future (#137903)

via llvm-commits llvm-commits at lists.llvm.org
Fri May 2 08:54:00 PDT 2025


Author: Min-Yih Hsu
Date: 2025-05-02T08:53:57-07:00
New Revision: 32ca368c1e5de75f8800a45de883ee93d5854c91

URL: https://github.com/llvm/llvm-project/commit/32ca368c1e5de75f8800a45de883ee93d5854c91
DIFF: https://github.com/llvm/llvm-project/commit/32ca368c1e5de75f8800a45de883ee93d5854c91.diff

LOG: [PPC][NFC] Remove duplicate processor feature from pwr9/10/11 and future (#137903)

The new TableGen warning introduced in
https://github.com/llvm/llvm-project/commit/951292be2c21bc903e63729338d872a878d2d49c
shows the following warnings:

```
warning: Processor future contains duplicate feature 'predictable-select-expensive'
warning: Processor pwr10 contains duplicate feature 'predictable-select-expensive'
warning: Processor pwr11 contains duplicate feature 'predictable-select-expensive'
warning: Processor pwr9 contains duplicate feature 'predictable-select-expensive'
```

Added: 
    

Modified: 
    llvm/lib/Target/PowerPC/PPC.td

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/PowerPC/PPC.td b/llvm/lib/Target/PowerPC/PPC.td
index 39da428461393..6b058d1a74772 100644
--- a/llvm/lib/Target/PowerPC/PPC.td
+++ b/llvm/lib/Target/PowerPC/PPC.td
@@ -435,8 +435,7 @@ def ProcessorFeatures {
      FeatureP9Vector,
      FeaturePPCPreRASched,
      FeaturePPCPostRASched,
-     FeatureISA3_0,
-     FeaturePredictableSelectIsExpensive
+     FeatureISA3_0
     ];
 
   // Some features are unique to Power9 and there is no reason to assume


        


More information about the llvm-commits mailing list