[PATCH] D112236: [RISCV] Expand scalable vector bswap. Fix crash for bitreverse.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 21 10:10:54 PDT 2021


craig.topper created this revision.
craig.topper added a reviewer: frasercrmck.
Herald added subscribers: achieveartificialintelligence, 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.
craig.topper requested review of this revision.
Herald added a subscriber: MaskRay.
Herald added a project: LLVM.

Fix LegalizeVectorOps to not try shuffle or unrolling expansions for
scalable vectors.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D112236

Files:
  llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/test/CodeGen/RISCV/rvv/bitreverse-sdnode.ll
  llvm/test/CodeGen/RISCV/rvv/bswap-sdnode.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112236.381309.patch
Type: text/x-patch
Size: 85001 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211021/43f9a4b0/attachment.bin>


More information about the llvm-commits mailing list