[PATCH] D136153: [AArch64] Allow cost computation for interleaved accesses
mgabka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 18 03:16:37 PDT 2022
mgabka created this revision.
Herald added subscribers: hiraditya, kristof.beyls.
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 commit is moving the rejection of scalable
vectors in the loop vectorization up to the target specific cost model.
Before this change for interleaved memory accesses there was an early
rejection from inside the loop vectorizer cost model.
The BasicTTIImplBase returns invalid cost for scalable vectors
what should be enough for other backends to use.
AArch64 will still return invalid cost for scalable vectors
for interleaved accesses as more work is required to enable it.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D136153
Files:
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/test/Transforms/LoopVectorize/AArch64/sve-interleaved-accesses.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136153.468471.patch
Type: text/x-patch
Size: 165796 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221018/b0648be0/attachment-0001.bin>
More information about the llvm-commits
mailing list