[all-commits] [llvm/llvm-project] 7f7993: [ARM] Expand distributing increments to also handl...

David Green via All-commits all-commits at lists.llvm.org
Thu Sep 17 08:59:06 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f7993e0daf459c308747f034e3fbd73889c7ab3
      https://github.com/llvm/llvm-project/commit/7f7993e0daf459c308747f034e3fbd73889c7ab3
  Author: David Green <david.green at arm.com>
  Date:   2020-09-17 (Thu, 17 Sep 2020)

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

  Log Message:
  -----------
  [ARM] Expand distributing increments to also handle existing pre/post inc instructions.

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

Differential Revision: https://reviews.llvm.org/D83377




More information about the All-commits mailing list