[PATCH] D105742: [AMDGPU] Make some VOP1 instructions rematerializable

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 12 16:18:21 PDT 2021


rampitec updated this revision to Diff 358095.
rampitec retitled this revision from "[AMDGPU] Make V_CVT_I32_F64/V_CVT_F64_I32 rematerializable." to "[AMDGPU] Make some VOP1 instructions rematerializable".
rampitec added a comment.

- Make more VOP1 rematerializable.
- Added instructions with SDWA and verified SDWA handling (unused_preserve cannot be rematerialized).
- Dropped old logic to specifically list and handle move instructions, it is covered by the new more generic code.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105742/new/

https://reviews.llvm.org/D105742

Files:
  llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
  llvm/lib/Target/AMDGPU/VOP1Instructions.td
  llvm/test/CodeGen/AMDGPU/remat-vop.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105742.358095.patch
Type: text/x-patch
Size: 33627 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210712/13ee77de/attachment-0001.bin>


More information about the llvm-commits mailing list