[PATCH] D116928: [LoopVectorize] Support epilogue vectorisation of loops with reductions

Kerry McLaughlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 13 03:23:35 PST 2022


kmclaughlin updated this revision to Diff 399615.
kmclaughlin marked 9 inline comments as done.
kmclaughlin added a comment.

- Changed getResumeValue to return a PHINode instead of a Value
- Pass in the RecurrenceDescriptor as a const reference to getResumeValue
- Assert that the resume value must be found in getResumeValue


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

https://reviews.llvm.org/D116928

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/test/Transforms/LoopVectorize/AArch64/sve-epilog-vect-inloop-reductions.ll
  llvm/test/Transforms/LoopVectorize/AArch64/sve-epilog-vect-reductions.ll
  llvm/test/Transforms/LoopVectorize/AArch64/sve-epilog-vect-strict-reductions.ll
  llvm/test/Transforms/LoopVectorize/X86/invariant-store-vectorization.ll
  llvm/test/Transforms/LoopVectorize/X86/pr35432.ll
  llvm/test/Transforms/LoopVectorize/X86/pr42674.ll
  llvm/test/Transforms/LoopVectorize/epilog-vectorization-reductions.ll
  llvm/test/Transforms/LoopVectorize/optimal-epilog-vectorization-limitations.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116928.399615.patch
Type: text/x-patch
Size: 129968 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220113/387c54fd/attachment-0001.bin>


More information about the llvm-commits mailing list