[PATCH] D146522: [RISCV] Model vlseg/vsseg in interleaved memory ops

Luke Lau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 21 06:06:17 PDT 2023


luke created this revision.
luke added reviewers: craig.topper, reames, kito-cheng.
Herald added subscribers: jobnoorman, asb, pmatos, VincentWu, vkmr, frasercrmck, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, 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.

If the legalized type is a legal interleaved access type (i.e. there's a
supported vlseg/vsseg instruction for it), the interleaved access pass
will pick any interleaved memory op (wide load + shuffles) and lower it
into a vlseg/vsseg intrinsic.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D146522

Files:
  llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
  llvm/test/Transforms/LoopVectorize/RISCV/interleaved-accesses.ll
  llvm/test/Transforms/LoopVectorize/RISCV/interleaved-cost.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146522.506935.patch
Type: text/x-patch
Size: 25339 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230321/72f5403a/attachment.bin>


More information about the llvm-commits mailing list