[PATCH] D79175: [ARM][MVE] Tail-Predication: use @llvm.get.active.lane.mask to get the BTC

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 27 06:27:49 PDT 2020


SjoerdMeijer updated this revision to Diff 266505.
SjoerdMeijer retitled this revision from "[ARM][MVE] Support intrinsic @llvm.set.loop.elements in the tail-predication pass" to "[ARM][MVE] Tail-Predication: use @llvm.get.active.lane.mask to get the BTC".
SjoerdMeijer edited the summary of this revision.
SjoerdMeijer added a reviewer: efriedma.
SjoerdMeijer added a comment.

Spring clean up: this deletes half the pass, i.e. all the pattern matching.
This is possible because of intrinsic `@llvm.get.active.lane.mask()`that will be generated by D79100 <https://reviews.llvm.org/D79100> and friends.

I am posting this for review, while I am fixing up the remaining test cases. I.e., I have modified one to the new situation: `llvm/test/CodeGen/Thumb2/LowOverheadLoops/basic-tail-pred.ll`, but now I need to fix up the others too, but that will be more of the same, so thought it was good to post this already.


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

https://reviews.llvm.org/D79175

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79175.266505.patch
Type: text/x-patch
Size: 33924 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200527/e682b0fb/attachment.bin>


More information about the llvm-commits mailing list