[PATCH] D95350: [SVE][LoopVectorize] Add gather/scatter support for SVE
David Sherwood via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 29 09:07:24 PST 2021
david-arm updated this revision to Diff 320151.
david-arm edited the summary of this revision.
david-arm added a comment.
- After @kmclaughlin's suggestion to unify the behaviour between the masked loads/stores and gathers/scatters I realised that we should be checking for scalar types isLegalMaskedLoad/Store in the same way as isLegalMaskedGather/Scatter does. This is what other targets do because the vectorizer queries support based on the scalar type.
- Added tests that we vectorise with masked loads and stores.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95350/new/
https://reviews.llvm.org/D95350
Files:
llvm/lib/IR/IRBuilder.cpp
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/test/Transforms/LoopVectorize/AArch64/sve-gather-scatter.ll
llvm/test/Transforms/LoopVectorize/AArch64/sve-masked-loadstore.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95350.320151.patch
Type: text/x-patch
Size: 18257 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210129/60b4fd28/attachment.bin>
More information about the llvm-commits
mailing list