[PATCH] D101836: [LoopVectorize] Enable strict reductions when allowReordering() returns false

Kerry McLaughlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 19 07:18:10 PDT 2021


kmclaughlin updated this revision to Diff 346450.
kmclaughlin marked 4 inline comments as done.
kmclaughlin added a comment.

- Rebased on the dependent changes, D102774 <https://reviews.llvm.org/D102774>
- Removed the separate RUN lines from both strict-fadd.ll & scalable-strict-fadd.ll for different VF/UFs.
- The tests now use one RUN line with the `-hints-allow-reordering=false` flag. This uses the existing CHECK lines in the tests, which prior to these changes only tested vectorization where reordering was allowed.


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

https://reviews.llvm.org/D101836

Files:
  llvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
  llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/test/Transforms/LoopVectorize/AArch64/scalable-strict-fadd.ll
  llvm/test/Transforms/LoopVectorize/AArch64/strict-fadd.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101836.346450.patch
Type: text/x-patch
Size: 21447 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210519/08ca4060/attachment-0001.bin>


More information about the llvm-commits mailing list