[PATCH] D102697: [RISCV] Support INSERT_VECTOR_ELT into i1 vectors

Fraser Cormack via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 18 09:38:41 PDT 2021


frasercrmck created this revision.
frasercrmck added reviewers: craig.topper, rogfer01, HsiangKai, khchen, evandro, arcbbb.
Herald added subscribers: vkmr, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya.
frasercrmck requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.

Like the element extraction of these vectors, we choose to promote up to
an i8 vector type and perform the insertion there.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D102697

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-insert-i1.ll
  llvm/test/CodeGen/RISCV/rvv/insertelt-i1.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102697.346195.patch
Type: text/x-patch
Size: 18685 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210518/7cbc5e1b/attachment.bin>


More information about the llvm-commits mailing list