[PATCH] D111555: [LoopVectorize] Add strict reduction support for fmuladd intrinsic

Rosie Sumpter via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 1 02:30:09 PDT 2021


RosieSumpter updated this revision to Diff 383740.
RosieSumpter added a comment.

- Create a ##VPInstruction## to represent the FMul
- Removed changes to ##VPReductionRecipe##
- In order to propagate fast-math flags, added ##LoopVectorizationPlanner## as a friend class to ##VPInstruction## (so that ##setUnderlyingInstr()## can be used) and added a method ##hasUnderlyingInstr()##


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

https://reviews.llvm.org/D111555

Files:
  llvm/include/llvm/Analysis/IVDescriptors.h
  llvm/lib/Analysis/IVDescriptors.cpp
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/lib/Transforms/Utils/LoopUtils.cpp
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
  llvm/lib/Transforms/Vectorize/VPlan.cpp
  llvm/lib/Transforms/Vectorize/VPlan.h
  llvm/test/Transforms/LoopVectorize/AArch64/scalable-strict-fadd.ll
  llvm/test/Transforms/LoopVectorize/AArch64/strict-fadd.ll
  llvm/test/Transforms/LoopVectorize/reduction-inloop.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111555.383740.patch
Type: text/x-patch
Size: 39467 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211101/19da3fb5/attachment.bin>


More information about the llvm-commits mailing list