Skip to content

Commit 9eb6b37

Browse files
committed
[RISCV] Put CV_ELW back in XCV DecoderNamespace.
I messed this up in #130800.
1 parent bbaf743 commit 9eb6b37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfoXCV.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -633,8 +633,8 @@ class CVLoad_ri<bits<3> funct3, string opcodestr>
633633
: RVInstI<funct3, OPC_CUSTOM_0, (outs GPR:$rd),
634634
(ins GPRMem:$rs1, simm12:$imm12), opcodestr, "$rd, ${imm12}(${rs1})">;
635635

636-
let Predicates = [HasVendorXCVelw, IsRV32], hasSideEffects = 0,
637-
mayLoad = 1, mayStore = 0 in {
636+
let Predicates = [HasVendorXCVelw, IsRV32], DecoderNamespace = "XCV",
637+
hasSideEffects = 0, mayLoad = 1, mayStore = 0 in {
638638
// Event load
639639
def CV_ELW : CVLoad_ri<0b011, "cv.elw">;
640640
}

0 commit comments

Comments
 (0)