[PATCH] D83377: [ARM] Expand distributing increments to also handle existing pre/post inc instructions.

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 8 02:57:26 PDT 2020


dmgreen created this revision.
dmgreen added reviewers: samparker, SjoerdMeijer, efriedma, simon_tatham, ostannard.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
Herald added a project: LLVM.

This extends the distributing postinc code in load/store optimizer to also handle the case where there is an existing pre/post inc instuction, where subsequent instructions can be modified to use the adjusted increment from the increment. This can save us having to keep the old register live past the increment instruction.


https://reviews.llvm.org/D83377

Files:
  llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
  llvm/test/CodeGen/Thumb2/mve-postinc-distribute.mir
  llvm/test/CodeGen/Thumb2/mve-vst2.ll
  llvm/test/CodeGen/Thumb2/mve-vst3.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83377.276336.patch
Type: text/x-patch
Size: 30498 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200708/d4f6b737/attachment.bin>


More information about the llvm-commits mailing list