[PATCH] D158741: [RISCV] Refactor selectVSplat. NFCI

Luke Lau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 24 07:48:28 PDT 2023


luke created this revision.
luke added reviewers: craig.topper, reames, frasercrmck.
Herald added subscribers: jobnoorman, asb, sunshaoce, 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, wangpc, eopXD, MaskRay.
Herald added a project: LLVM.

This patch shares the logic between the various splat ComplexPatterns to help
the diff in some upcoming patches.

It's worth noting that the uimm splat pattern now takes into account the
implicit truncation + sign extend semantics of vmv_v_x_vl, but that doesn't
seem to affect the result since it always took the sext value anyway.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D158741

Files:
  llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158741.553132.patch
Type: text/x-patch
Size: 4779 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230824/c7b1674f/attachment.bin>


More information about the llvm-commits mailing list