diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2025-09-03 02:25:08 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-02 17:25:08 +0000 |
commit | d6a72cb300f1d4131eee4fdb101741fb2be1f780 (patch) | |
tree | 09cadde6a7566ecc8cf49fce76cbdb1852b52dd9 /llvm/lib/ExecutionEngine | |
parent | 1cc84bcc08f723a6ba9d845c3fed1777547f45f9 (diff) | |
download | llvm-d6a72cb300f1d4131eee4fdb101741fb2be1f780.zip llvm-d6a72cb300f1d4131eee4fdb101741fb2be1f780.tar.gz llvm-d6a72cb300f1d4131eee4fdb101741fb2be1f780.tar.bz2 |
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.
Diffstat (limited to 'llvm/lib/ExecutionEngine')
0 files changed, 0 insertions, 0 deletions