[PATCH] D104533: [LoopVectorize] Fix strict reductions where VF = 1

Kerry McLaughlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 18 09:47:37 PDT 2021


kmclaughlin updated this revision to Diff 353031.
kmclaughlin marked 2 inline comments as done.
kmclaughlin added a comment.

- Changed `adjustRecipesForInLoopReductions` so that for a VF of 1 we only use VPReductionRecipe if the reduction is also ordered.


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

https://reviews.llvm.org/D104533

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104533.353031.patch
Type: text/x-patch
Size: 9159 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210618/a476346e/attachment.bin>


More information about the llvm-commits mailing list