[PATCH] D102253: [LV] Prevent vectorization with unsupported element types.

Kerry McLaughlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 8 08:53:32 PDT 2021


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

- Merged the `isElementTypeLegalForScalableVector` and `isLegalElementTypeForSVE` functions. Since `isElementTypeLegalForScalableVector` does not check the VF anymore, there was no additional benefit to them being separate.


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

https://reviews.llvm.org/D102253

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
  llvm/test/Transforms/LoopVectorize/AArch64/sve-illegal-type.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102253.350618.patch
Type: text/x-patch
Size: 11317 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210608/ba1a42e5/attachment.bin>


More information about the llvm-commits mailing list