Closed
Description
According to the spec:
26.2. Compressed Instruction Formats
CR, CI, and CSS can use any of the 32 RVI registers, but CIW, CL, CS, CA, and CB are limited to just 8 of them.
But the definition in RISCVInstrInfoC.td
has it taking AnyRegC
. This should be AnyReg
.
def InsnCI : DirectiveInsnCI<(outs AnyRegC:$rd), (ins uimm2_opcode:$opcode,