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

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 23 06:12:32 PST 2020


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

Thanks for catching that. This now gets the scalar loop iteration count from the icmp, which has as a RHS value a constant vector, i.e. a splat value with the scalar loop iteration count. This is returned as the computed number of elements for loops with constant tripcounts.


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.239875.patch
Type: text/x-patch
Size: 33545 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200123/69ddc639/attachment-0001.bin>


More information about the llvm-commits mailing list