[PATCH] D94608: [ARM] Tail predication with constant loop bounds

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 13 08:43:54 PST 2021


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

The TripCount for a predicated vector loop body will be ceil(ElementCount/Width). This alters the conversion of an active.lane.mask to a VCPT intrinsics to match.


https://reviews.llvm.org/D94608

Files:
  llvm/lib/Target/ARM/MVETailPredication.cpp
  llvm/test/CodeGen/Thumb2/LowOverheadLoops/constbound.ll
  llvm/test/CodeGen/Thumb2/LowOverheadLoops/tp-multiple-vpst.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94608.316394.patch
Type: text/x-patch
Size: 8534 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210113/c5832a11/attachment.bin>


More information about the llvm-commits mailing list