[llvm] cc9b5c3 - [RISCV] Remove unused Predicates. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 11 22:52:41 PDT 2025


Author: Craig Topper
Date: 2025-07-11T22:51:42-07:00
New Revision: cc9b5c34807ccf9158ebe02e2d85aa900546f841

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

LOG: [RISCV] Remove unused Predicates. 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 f74f1e06d66a2..cb704f56d9ccd 100644
--- a/llvm/lib/Target/RISCV/RISCVFeatures.td
+++ b/llvm/lib/Target/RISCV/RISCVFeatures.td
@@ -179,7 +179,6 @@ def FeatureStdExtZicfiss
 def HasStdExtZicfiss : Predicate<"Subtarget->hasStdExtZicfiss()">,
                        AssemblerPredicate<(all_of FeatureStdExtZicfiss),
                                           "'Zicfiss' (Shadow stack)">;
-def NoHasStdExtZicfiss : Predicate<"!Subtarget->hasStdExtZicfiss()">;
 
 def FeatureStdExtZilsd
     : RISCVExtension<1, 0,
@@ -188,7 +187,6 @@ def FeatureStdExtZilsd
 def HasStdExtZilsd : Predicate<"Subtarget->hasStdExtZilsd()">,
                        AssemblerPredicate<(all_of FeatureStdExtZilsd),
                                           "'Zilsd' (Load/Store pair instructions)">;
-def NoHasStdExtZilsd : Predicate<"!Subtarget->hasStdExtZilsd()">;
 
 // Multiply Extensions
 


        


More information about the llvm-commits mailing list