[PATCH] D121595: [LoopVectorize] Permit tail-folding for low trip counts using scalable vectors

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 27 08:20:07 PDT 2022


david-arm updated this revision to Diff 425526.
david-arm edited the summary of this revision.
david-arm added a comment.

- Completely removed all restrictions on using tail-folding for scalable vectors.
- Added test to show we apply tail-folding when compiling with -Os


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

https://reviews.llvm.org/D121595

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/test/Transforms/LoopVectorize/AArch64/sve-low-trip-count.ll
  llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-optsize.ll
  llvm/test/Transforms/LoopVectorize/RISCV/low-trip-count.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121595.425526.patch
Type: text/x-patch
Size: 9657 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220427/2bdcbcde/attachment.bin>


More information about the llvm-commits mailing list