[PATCH] D138101: [RISCV] Lower unmasked zero-stride vector load to (scalar load + splat)

Wang Pengcheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 16 00:30:48 PST 2022


pcwang-thead created this revision.
pcwang-thead added reviewers: reames, craig.topper.
Herald added subscribers: sunshaoce, VincentWu, StephenFan, vkmr, frasercrmck, evandro, 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, asb, hiraditya, arichardson.
Herald added a project: All.
pcwang-thead requested review of this revision.
Herald added subscribers: llvm-commits, eopXD, MaskRay.
Herald added a project: LLVM.

So we have the opportunity to fold splat into .vx instruction as what
D101138 <https://reviews.llvm.org/D101138> has done. If failed, we can select zero-stride vector load
again.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D138101

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/test/CodeGen/RISCV/rvv/fixed-vector-strided-load-store-asm.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138101.475710.patch
Type: text/x-patch
Size: 15943 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221116/6cc92d1c/attachment.bin>


More information about the llvm-commits mailing list