[PATCH] D128717: [RISCV] Change VECTOR_SPLICE mask operation from expand to promote

WangLian via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 28 03:13:37 PDT 2022


Jimerlife created this revision.
Jimerlife added reviewers: craig.topper, frasercrmck, benshi001.
Jimerlife added a project: LLVM.
Herald added subscribers: sunshaoce, VincentWu, luke957, StephenFan, vkmr, 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.
Jimerlife requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, eopXD, jacquesguan, MaskRay.

Before this patch, vector_splice mask operation go through expandVectorSplice. I think that is not suitable for RISCV.
So, I change expand vector_splice mask operation to promote. This patch D94708 <https://reviews.llvm.org/D94708> has implemented vector_splice promote.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D128717

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/test/CodeGen/RISCV/rvv/vector-splice.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128717.440553.patch
Type: text/x-patch
Size: 9670 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220628/4e267e25/attachment.bin>


More information about the llvm-commits mailing list