Skip to content

[RISCV] Incorrect definition of InsnCI #100112

Closed
@svs-quic

Description

@svs-quic

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,

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions