[PATCH] D73198: [ARM][MVE] Tail-predication: support constant trip count

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 22 07:38:08 PST 2020


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

Let's also support the easy/easier case: constant trip counts :)

And while I was at it, a minor optimisation: I don't think we need to run `Cleanup` when there are no `NewPredicates`; it wasn't doing anything other than  iterating over empty sets, but thought not calling it all was more obvious; I had to move the initialisation of `ClonedVCTPInExitBlock` for that.


https://reviews.llvm.org/D73198

Files:
  llvm/lib/Target/ARM/MVETailPredication.cpp
  llvm/test/CodeGen/Thumb2/LowOverheadLoops/tail-pred-const.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73198.239592.patch
Type: text/x-patch
Size: 24788 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200122/2926fb51/attachment.bin>


More information about the llvm-commits mailing list