[PATCH] D152828: [MachineSink][AArch64] Sink instruction copies when they can replace copy into hard register or folded into addressing mode

Momchil Velikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 4 09:43:52 PDT 2023


chill updated this revision to Diff 547261.
chill added a comment.

Update:

- added folding of 32-bit zero-/sign-extends into load/store addressing mode
- removed an arbitrary restriction of not folding instructions in the same basic block
- implemented a slightly more efficient cleanup of dead COPYs
- removed references to nonexistent virtual registers from  debug instructions


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

https://reviews.llvm.org/D152828

Files:
  llvm/test/CodeGen/AArch64/arm64-stp.ll
  llvm/test/CodeGen/AArch64/sink-and-fold.ll
  llvm/test/CodeGen/AArch64/swift-async-win.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152828.547261.patch
Type: text/x-patch
Size: 23252 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230804/7feedfd1/attachment.bin>


More information about the llvm-commits mailing list