[PATCH] D95245: [SVE] Add support for scalable vectorization of loops with int/fast FP reductions

Kerry McLaughlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 5 06:57:50 PST 2021


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

- Merged `isLegalScalarTypeForSVEMaskedMemOp` & `isLegalScalarTypeForSVE`
- Return false from `isLegalToVectorizeReduction` for bfloat types
- Included `isa<ScalableVectorType>(Ty)` in the switch statement conditions of `useReductionIntrinsic`


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

https://reviews.llvm.org/D95245

Files:
  llvm/include/llvm/Analysis/TargetTransformInfo.h
  llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
  llvm/lib/Analysis/TargetTransformInfo.cpp
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/test/Transforms/LoopVectorize/AArch64/scalable-reductions.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95245.321749.patch
Type: text/x-patch
Size: 32177 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210205/f0d995f3/attachment.bin>


More information about the llvm-commits mailing list