llvm-project
d6a72cb3 - AMDGPU: Fix fixme for out of bounds indexing in usesConstantBus check (#155603)

Commit
236 days ago
AMDGPU: Fix fixme for out of bounds indexing in usesConstantBus check (#155603) This loop over all the operands in the MachineInstr will eventually go past the end of the MCInstrDesc's explicit operands. We don't need the instr desc to compute the constant bus usage, just the register and whether it's implicit or not. The check here is slightly conservative. e.g. a random vcc implicit use appended to an instruction will falsely report a constant bus use.
Author
Parents
Loading