[clang] [llvm] [RISCV] Add Zilsd and Zclsd Extensions (PR #131094)
    Pengcheng Wang via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Mar 18 03:15:06 PDT 2025
    
    
  
================
@@ -176,6 +176,13 @@ def HasStdExtZicfiss : Predicate<"Subtarget->hasStdExtZicfiss()">,
                                           "'Zicfiss' (Shadow stack)">;
 def NoHasStdExtZicfiss : Predicate<"!Subtarget->hasStdExtZicfiss()">;
 
+def FeatureStdExtZilsd
+    : RISCVExtension<1, 0,
+                     "Load/Store Pair Instructions">;
----------------
wangpc-pp wrote:
No, I meant maybe we can make `FeatureStdExtZilsd` implies `RV32` here, so that we can reduce some checks/predicates. This is because `Zilsd` can only be implemented in RV32. But I don't know if this is right.
https://github.com/llvm/llvm-project/pull/131094
    
    
More information about the llvm-commits
mailing list