[llvm] 3285e8d - [RISCV] Remove unused HasStdExtB Predicate. NFC
    Craig Topper via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Sep 12 23:19:22 PDT 2024
    
    
  
Author: Craig Topper
Date: 2024-09-12T23:15:01-07:00
New Revision: 3285e8d3b06675fc866b7b684a1a0a5b602e4c86
URL: https://github.com/llvm/llvm-project/commit/3285e8d3b06675fc866b7b684a1a0a5b602e4c86
DIFF: https://github.com/llvm/llvm-project/commit/3285e8d3b06675fc866b7b684a1a0a5b602e4c86.diff
LOG: [RISCV] Remove unused HasStdExtB Predicate. NFC
Added: 
    
Modified: 
    llvm/lib/Target/RISCV/RISCVFeatures.td
Removed: 
    
################################################################################
diff  --git a/llvm/lib/Target/RISCV/RISCVFeatures.td b/llvm/lib/Target/RISCV/RISCVFeatures.td
index c802274aa78c32..52f5a637eb740d 100644
--- a/llvm/lib/Target/RISCV/RISCVFeatures.td
+++ b/llvm/lib/Target/RISCV/RISCVFeatures.td
@@ -513,9 +513,6 @@ def FeatureStdExtB
     : RISCVExtension<"b", 1, 0,
                      "'B' (the collection of the Zba, Zbb, Zbs extensions)",
                      [FeatureStdExtZba, FeatureStdExtZbb, FeatureStdExtZbs]>;
-def HasStdExtB : Predicate<"Subtarget->hasStdExtB()">,
-                           AssemblerPredicate<(all_of FeatureStdExtB),
-                           "'B' (the collection of the Zba, Zbb, Zbs extensions)">;
 
 def FeatureStdExtZbkb
     : RISCVExtension<"zbkb", 1, 0,
        
    
    
More information about the llvm-commits
mailing list