[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 12 10:38:18 PDT 2021


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

- Removed the `getReductionVars().empty()` test from canVectorizeFPMath() and renamed `ExactRdxVar` to `HasExactRdxVar`


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.344868.patch
Type: text/x-patch
Size: 58066 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210512/7e6dc65b/attachment-0001.bin>


More information about the llvm-commits mailing list