[PATCH] D117307: [LoopVectorize] Only check for ordered reductions if the op chain was found

Kerry McLaughlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 19 09:33:30 PST 2022


kmclaughlin updated this revision to Diff 401286.
kmclaughlin marked 2 inline comments as done.
kmclaughlin edited the summary of this revision.
kmclaughlin added a comment.

- Renamed getReductionOpChain -> findReductionOpChain
- Added `!LoopExitInstr->hasNUses(2)` back into findReductionOpChain


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

https://reviews.llvm.org/D117307

Files:
  llvm/include/llvm/Analysis/IVDescriptors.h
  llvm/lib/Analysis/IVDescriptors.cpp
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117307.401286.patch
Type: text/x-patch
Size: 5320 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220119/3714fb5e/attachment.bin>


More information about the llvm-commits mailing list