[PATCH] D145163: Add support for vectorization of interleaved memory accesses for scalable VF

mgabka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 2 07:24:24 PST 2023


mgabka created this revision.
mgabka added reviewers: paulwalker-arm, reames, luke.
Herald added subscribers: nlopes, hiraditya.
Herald added a project: All.
mgabka requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, alextsao1999.
Herald added a project: LLVM.

This patch is using the new intrinsics introduced in
https://reviews.llvm.org/D141924
to enable vecorization of interleaved accesses for scalable VF.
Targets need to implement a proper cost model for supported operations
to make sure that generated IR can be code generated.


https://reviews.llvm.org/D145163

Files:
  llvm/include/llvm/Analysis/TargetTransformInfo.h
  llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
  llvm/include/llvm/IR/IRBuilder.h
  llvm/lib/Analysis/TargetTransformInfo.cpp
  llvm/lib/IR/IRBuilder.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/test/Transforms/LoopVectorize/sve-interleaved-accesses.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145163.501861.patch
Type: text/x-patch
Size: 136332 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230302/435b4dd9/attachment-0001.bin>


More information about the llvm-commits mailing list