llvm-project
09f44926 - [RISCV] Check for register where immediate should be in RISCVInstrInfo::verifyInstruction. (#120286)

Commit
1 year ago
[RISCV] Check for register where immediate should be in RISCVInstrInfo::verifyInstruction. (#120286) The generic verifier will do this if the operand type is OPERAND_IMMEDIATE, but we use our own custom operand types. Immediate operands are still allowed to be globals, constant pools, blockaddress, etc. so we can't check !isImm().
Author
Parents
Loading