[PATCH] D138581: [AArch64][SVE] Add DAG combine for load + dup_merge_passthru -> replicating load
Bradley Smith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 23 08:36:31 PST 2022
bsmith created this revision.
bsmith added reviewers: paulwalker-arm, peterwaller-arm, c-rhodes.
Herald added subscribers: ctetreau, psnobl, gbedwell, hiraditya, kristof.beyls, tschuett.
Herald added a reviewer: andreadb.
Herald added a reviewer: efriedma.
Herald added a project: All.
bsmith requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Since SVE replicating loads don't have post/pre increment addressing
modes, this is done as a DAG combine rather than an isel pattern so
that we can do this transform before post/pre increment are introduced.
As part of this, the existing replicating load patterns for splat have
been moved into this same DAG combine.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D138581
Files:
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.h
llvm/lib/Target/AArch64/AArch64InstrFormats.td
llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
llvm/test/CodeGen/AArch64/sve-ld1r.ll
llvm/test/tools/llvm-mca/AArch64/A64FX/A64FX-sve-instructions.s
llvm/test/tools/llvm-mca/AArch64/Neoverse/N2-sve-instructions.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138581.477514.patch
Type: text/x-patch
Size: 34406 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221123/173f9d3d/attachment-0001.bin>
More information about the llvm-commits
mailing list