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

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 24 05:19:57 PST 2020


SjoerdMeijer updated this revision to Diff 240166.
SjoerdMeijer added a comment.

Thanks for the suggestion, I have refactored things: we now have 2 functions `ComputeRuntimeElements()` and `ComputeConstElements` that match the number of elements and feed that to `isTailPredicate()`, so that none of this decision making has to be done in `isTailPredicate()` anymore.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73198/new/

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.240166.patch
Type: text/x-patch
Size: 34857 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200124/039b70d1/attachment.bin>


More information about the llvm-commits mailing list