[PATCH] D85454: [ARM] Allow vecreduce_add in tail predicated loops

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 6 11:12:30 PDT 2020


dmgreen created this revision.
dmgreen added reviewers: samparker, SjoerdMeijer, efriedma, simon_tatham, samtebbs, ostannard.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
Herald added a project: LLVM.
dmgreen requested review of this revision.

I was temped to try to change the MVETailPredication pass to a simpler "if loop has a activelanemask, convert it to a vctp" pass. Here I've just left it as is, but allowed vector reductions through into tail predicated loops.


https://reviews.llvm.org/D85454

Files:
  llvm/lib/Target/ARM/MVETailPredication.cpp
  llvm/test/CodeGen/Thumb2/mve-vecreduce-loops.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85454.283674.patch
Type: text/x-patch
Size: 97058 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200806/213c57df/attachment-0001.bin>


More information about the llvm-commits mailing list