[PATCH] D105632: [LV] Use lookThroughAnd with logical reductions

Kerry McLaughlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 9 08:08:02 PDT 2021


kmclaughlin updated this revision to Diff 357509.
kmclaughlin marked an inline comment as done.
kmclaughlin added a comment.

- Added new tests for `umax` & `smin`
- Changed the initial value of the reduction phi in `@reduction_smax_trunc` to be greater than the mask value


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

https://reviews.llvm.org/D105632

Files:
  llvm/lib/Analysis/IVDescriptors.cpp
  llvm/test/Transforms/LoopVectorize/reduction-inloop-pred.ll
  llvm/test/Transforms/LoopVectorize/reduction-inloop.ll
  llvm/test/Transforms/LoopVectorize/trunc-reductions.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105632.357509.patch
Type: text/x-patch
Size: 30414 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210709/e3e478f9/attachment.bin>


More information about the llvm-commits mailing list