[PATCH] D114239: [AMDGPU] Add an implicit use of M0 to all V_MOV_B32_indirect_read/write

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 19 05:51:56 PST 2021


foad created this revision.
foad added reviewers: arsenm, rampitec.
Herald added subscribers: kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
foad requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

NFCI. Previously the implicit use was added to V_MOV_B32_indirect_read
when building the instruction. V_MOV_B32_indirect_write didn't have an
implicit use of M0 at all, but apparently it did not cause any problems.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D114239

Files:
  llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
  llvm/lib/Target/AMDGPU/VOP1Instructions.td
  llvm/test/CodeGen/AMDGPU/set-gpr-idx-peephole.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114239.388480.patch
Type: text/x-patch
Size: 67464 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211119/3fd32443/attachment.bin>


More information about the llvm-commits mailing list