[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
Thu Feb 4 07:31:24 PST 2021


kmclaughlin updated this revision to Diff 321426.
kmclaughlin added a comment.

- Added a function called `isLegalScalarTypeForSVE` which checks that the reduction type is supported & added a new test which uses bfloat to `scalable-reductions.ll`


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.321426.patch
Type: text/x-patch
Size: 30705 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210204/c1c51266/attachment.bin>


More information about the llvm-commits mailing list