[PATCH] D112548: [LoopVectorize] Propagate fast-math flags for inloop reductions

Rosie Sumpter via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 28 07:42:42 PDT 2021


RosieSumpter updated this revision to Diff 383031.
RosieSumpter retitled this revision from "[LoopVectorize] Propagate fast-math flags for ordered reductions" to "[LoopVectorize] Propagate fast-math flags for inloop reductions".
RosieSumpter added a comment.

- Use ##IRBuilderBase::FastMathFlagGuard##
- Propagate fast-math flags for both ordered and non-ordered reductions
- Updated tests


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

https://reviews.llvm.org/D112548

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/test/Transforms/LoopVectorize/AArch64/strict-fadd.ll
  llvm/test/Transforms/LoopVectorize/reduction-inloop-pred.ll
  llvm/test/Transforms/LoopVectorize/reduction-inloop.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112548.383031.patch
Type: text/x-patch
Size: 15316 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211028/ef830634/attachment.bin>


More information about the llvm-commits mailing list