[PATCH] D151742: [RISCV] Use v(f)slide1down for shuffle+insert idiom
Philip Reames via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 30 11:54:38 PDT 2023
reames created this revision.
reames added reviewers: frasercrmck, craig.topper, asb, luke.
Herald added subscribers: jobnoorman, VincentWu, vkmr, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, bollu, simoncook, johnrusso, rbar, hiraditya, arichardson, mcrosier.
Herald added a project: All.
reames requested review of this revision.
Herald added subscribers: pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.
This is a follow up to D151468 <https://reviews.llvm.org/D151468> which added the vslide1down case as a sub-case of vslide1down matching. This generalizes that code into generic mask matching - specifically to point out the sub-vector insert restriction in the original patch. Since the matching logic is basically the same, go ahead and support vslide1up at the same time.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D151742
Files:
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/test/CodeGen/RISCV/rvv/fixed-vector-shuffle-vslide1down.ll
llvm/test/CodeGen/RISCV/rvv/fixed-vector-shuffle-vslide1up.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151742.526732.patch
Type: text/x-patch
Size: 13729 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230530/0eafa995/attachment.bin>
More information about the llvm-commits
mailing list