[PATCH] D91267: [ARM] Remove copies from low overhead phi inductions.

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 11 07:52:29 PST 2020


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

The phi created in a low overhead loop gets created with a default register class it seems. There are then copied inserted between the low overhead loop pseudo instructions (which produce/consume GPRlr instructions) and the phi holding the induction. This patch removes those as a step towards attempting to make t2LoopDec and t2LoopEnd a single instruction, and appears useful in it's own right as shown in the tests.


https://reviews.llvm.org/D91267

Files:
  llvm/lib/Target/ARM/MVETPAndVPTOptimisationsPass.cpp
  llvm/test/CodeGen/Thumb2/mve-gather-scatter-tailpred.ll
  llvm/test/CodeGen/Thumb2/mve-postinc-lsr.ll
  llvm/test/CodeGen/Thumb2/mve-pred-vctpvpsel.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91267.304517.patch
Type: text/x-patch
Size: 13070 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201111/3f7cf856/attachment.bin>


More information about the llvm-commits mailing list