[PATCH] D152724: [RISCV] Use TU vmv.v.v instead of vslideup.vi N, M, 0 for insert vector_shuffles

Luke Lau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 12 09:20:33 PDT 2023


luke created this revision.
luke added reviewers: craig.topper, reames, frasercrmck.
Herald added subscribers: jobnoorman, asb, pmatos, 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, simoncook, johnrusso, rbar, hiraditya, arichardson.
Herald added a project: All.
luke requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.

This applies the same technique in https://reviews.llvm.org/D152565 to
vslideups when lowering vector_shuffles that have an insert pattern in
their mask.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D152724

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-buildvec.ll
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-shuffles.ll
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-interleaved-access.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152724.530543.patch
Type: text/x-patch
Size: 7413 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230612/41fa456b/attachment.bin>


More information about the llvm-commits mailing list