[PATCH] D120912: [AArch64][SVE] Convert gather/scatter with a stride of 2 to contiguous loads/stores
Kerry McLaughlin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 3 08:11:44 PST 2022
kmclaughlin created this revision.
kmclaughlin added reviewers: sdesmalen, david-arm, CarolineConcatto, peterwaller-arm.
Herald added subscribers: psnobl, hiraditya, kristof.beyls, tschuett.
Herald added a reviewer: efriedma.
Herald added a project: All.
kmclaughlin requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This patch extends `performMaskedGatherScatterCombine` to find gathers
& scatters with a stride of two in their indices, which can be converted
to a pair of contiguous loads or stores with zips & uzps and the
appropriate predicates.
There were no performance improvements found using this combine for scatter
stores of 64 bit data, so we just return SDValue() in this case.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D120912
Files:
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/sve-gather-scatter-to-contiguous.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120912.412730.patch
Type: text/x-patch
Size: 11672 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220303/b05597bd/attachment.bin>
More information about the llvm-commits
mailing list