[PATCH] D88086: [ARM][MVE] tail-predication: checks for the elementcount, cont'd

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 25 03:39:11 PDT 2020


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

I am so happy that this approach works! I.e., this determines equality of TC and ElemenCount by calculating 2 scev expressions and subtracting them and testing the result for 0. Also a check for the base of the AddRec has been added now, so I think this addresses all comments.


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

https://reviews.llvm.org/D88086

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88086.294265.patch
Type: text/x-patch
Size: 22489 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200925/47ea00b2/attachment.bin>


More information about the llvm-commits mailing list