[llvm] 9eb6b37 - [RISCV] Put CV_ELW back in XCV DecoderNamespace.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 17 12:47:53 PDT 2025


Author: Craig Topper
Date: 2025-03-17T12:47:39-07:00
New Revision: 9eb6b37e397eba7b286777f5502a08876e74d905

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

LOG: [RISCV] Put CV_ELW back in XCV DecoderNamespace.

I messed this up in #130800.

Added: 
    

Modified: 
    llvm/lib/Target/RISCV/RISCVInstrInfoXCV.td

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/RISCV/RISCVInstrInfoXCV.td b/llvm/lib/Target/RISCV/RISCVInstrInfoXCV.td
index 344b8e13ba2ae..8aae080f1ffe3 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfoXCV.td
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfoXCV.td
@@ -633,8 +633,8 @@ class CVLoad_ri<bits<3> funct3, string opcodestr>
     : RVInstI<funct3, OPC_CUSTOM_0, (outs GPR:$rd), 
       (ins GPRMem:$rs1, simm12:$imm12), opcodestr, "$rd, ${imm12}(${rs1})">;
 
-let Predicates = [HasVendorXCVelw, IsRV32], hasSideEffects = 0, 
-    mayLoad = 1, mayStore = 0 in {
+let Predicates = [HasVendorXCVelw, IsRV32], DecoderNamespace = "XCV",
+    hasSideEffects = 0, mayLoad = 1, mayStore = 0 in {
   // Event load
   def CV_ELW : CVLoad_ri<0b011, "cv.elw">;
 }


        


More information about the llvm-commits mailing list