[PATCH] D99412: [AArch64][SVEIntrinsicOpts] Optimize tbl+dup into dup+extractelement
JunMa via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 26 04:11:16 PDT 2021
junparser created this revision.
junparser added reviewers: david-arm, sdesmalen, paulwalker-arm, peterwaller-arm, joechrisellis.
Herald added subscribers: hiraditya, kristof.beyls, tschuett.
junparser requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
According to D99324 <https://reviews.llvm.org/D99324>, this patch try to convert pattern sve_tbl(vec, sve_dup_x(idx)) to sve_dup_x(extractelement(vec, idx)) which simplify lowering and isel in later phase. Try to solve the problem for both ACLE and auto-vectorisation.
TestPlan: check-llvm
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D99412
Files:
llvm/lib/Target/AArch64/SVEIntrinsicOpts.cpp
llvm/test/CodeGen/AArch64/sve-tbl-dupx.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99412.333527.patch
Type: text/x-patch
Size: 8168 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210326/23939c80/attachment.bin>
More information about the llvm-commits
mailing list