[PATCH] D103236: [ARM] Introduce t2WhileLoopStartTP

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 27 03:43:31 PDT 2021


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

This adds t2WhileLoopStartTP, similar to the t2DoLoopStartTP added in D90591 <https://reviews.llvm.org/D90591>. It keeps a reference to both the tripcount register and the element count register, so that the ARMLowOverheadLoops pass in the backend can pick the correct one without having to search for it from then operand of a VCTP.


https://reviews.llvm.org/D103236

Files:
  llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
  llvm/lib/Target/ARM/ARMBaseInstrInfo.h
  llvm/lib/Target/ARM/ARMBlockPlacement.cpp
  llvm/lib/Target/ARM/ARMInstrThumb2.td
  llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
  llvm/lib/Target/ARM/MVETPAndVPTOptimisationsPass.cpp
  llvm/lib/Target/ARM/MVETailPredUtils.h
  llvm/test/CodeGen/Thumb2/LowOverheadLoops/memcall.ll
  llvm/test/CodeGen/Thumb2/LowOverheadLoops/wls-search-pred.mir
  llvm/test/CodeGen/Thumb2/mve-gather-scatter-optimisation.ll
  llvm/test/CodeGen/Thumb2/mve-memtp-loop.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103236.348203.patch
Type: text/x-patch
Size: 23690 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210527/3b94f1d6/attachment.bin>


More information about the llvm-commits mailing list