[PATCH] D149724: [RISCV] Promote i1 shuffles to i8 shuffles.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 2 23:19:53 PDT 2023


craig.topper created this revision.
craig.topper added reviewers: reames, luke, kito-cheng, rogfer01, frasercrmck.
Herald added subscribers: jobnoorman, VincentWu, vkmr, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, edward-jones, zzheng, jrtc27, shiva0217, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya, arichardson.
Herald added a project: All.
craig.topper requested review of this revision.
Herald added subscribers: pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.

Otherwise I think we extract and use a build_vector. There may be
some more improvements that can be made and there might be some
cases that we should do something different for, but this seemed like a
decent starting point.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149724

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/test/CodeGen/RISCV/rvv/constant-folding-crash.ll
  llvm/test/CodeGen/RISCV/rvv/fixed-vector-shuffle-reverse.ll
  llvm/test/CodeGen/RISCV/rvv/vector-deinterleave-fixed.ll
  llvm/test/CodeGen/RISCV/rvv/vector-interleave-fixed.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149724.518978.patch
Type: text/x-patch
Size: 137068 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230503/152dd58d/attachment-0001.bin>


More information about the llvm-commits mailing list