Skip to content

Commit 68e3c02

Browse files
committed
[RISCV] Move CV_INSERTR into the XCVbitmanip DecoderNamespace instead of the default.
This uses RVInstR, while other XCVbitmanip instructions use classes that set the DecoderNamespace.
1 parent 9f170e6 commit 68e3c02

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfoXCV.td

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ let Predicates = [HasVendorXCVbitmanip, IsRV32],
5454
def CV_INSERT : CVInstBitManipRII<0b10, 0b000, (outs GPR:$rd_wb),
5555
(ins GPR:$rd, GPR:$rs1, uimm5:$is3, uimm5:$is2),
5656
"cv.insert", "$rd, $rs1, $is3, $is2">;
57+
let DecoderNamespace = "XCVbitmanip" in
5758
def CV_INSERTR : RVInstR<0b0011010, 0b011, OPC_CUSTOM_1, (outs GPR:$rd_wb),
5859
(ins GPR:$rd, GPR:$rs1, GPR:$rs2),
5960
"cv.insertr", "$rd, $rs1, $rs2">;

0 commit comments

Comments
 (0)