[PATCH] D100570: [LoopVectorize] Prevent multiple Phis being generated with in-order reductions

Kerry McLaughlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 26 05:33:18 PDT 2021


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

- Moved the `VF.isVector() `check in fixReduction into the into the IsOrdered definition
- Added `VF.isVector()` to the IsOrdered definition in widenPHIInstruction
- Removed affected CHECK lines from the `@fadd_strict_unroll` test in scalable-strict-fadd.ll


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

https://reviews.llvm.org/D100570

Files:
  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: D100570.340490.patch
Type: text/x-patch
Size: 6860 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210426/442072bb/attachment-0001.bin>


More information about the llvm-commits mailing list