[PATCH] D138308: [AMDGPU] Stop looking for implicit M0 uses on MOV instructions

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 18 08:50:50 PST 2022


foad created this revision.
foad added a reviewer: AMDGPU.
Herald added subscribers: kosarev, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl, arsenm.
Herald added a project: All.
foad requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

Before D114230 <https://reviews.llvm.org/D114230>, indirect moves used regular MOV opcodes and were
identified by having an implicit use of M0. Since D114230 <https://reviews.llvm.org/D114230> they use
dedicated opcodes instead, so remove some old code that checks for
implicit uses of M0. NFCI.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D138308

Files:
  llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
  llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
  llvm/test/CodeGen/AMDGPU/v_swap_b32.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138308.476498.patch
Type: text/x-patch
Size: 5043 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221118/2a518b67/attachment.bin>


More information about the llvm-commits mailing list