[PATCH] D69845: [ARM][MVE] WIP: canTailPredicateLoop

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 5 07:32:57 PST 2019


SjoerdMeijer created this revision.
SjoerdMeijer added reviewers: samparker, dmgreen, efriedma.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: LLVM.

This is a work-in-progress patch to show usage, for ARM MVE, of new target hook ispreferPredicateOverEpilogue added in D69040 <https://reviews.llvm.org/D69040>.

Things to still do:

- analysing and ensuring there's consecutive pointer access, to avoid shuffles,
- respect the vectorize_predicate(disable) pragma (a test has been added),
- probably I should look a lot better which instructions we allow and won't allow.
- add a lot more tests.


https://reviews.llvm.org/D69845

Files:
  llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
  llvm/test/Transforms/LoopVectorize/ARM/prefer-tail-loop-folding.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69845.227873.patch
Type: text/x-patch
Size: 11272 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191105/32cd7ad9/attachment.bin>


More information about the llvm-commits mailing list