[PATCH] D157294: [RISCV] Lower unary zvbb ops for fixed vectors

Luke Lau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 7 08:40:05 PDT 2023


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

This reuses the same strategy for fixed vectors as other ops, i.e. custom lower
to a scalable *_vl SD node.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D157294

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-bitreverse.ll
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-bswap.ll
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctlz.ll
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctpop.ll
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-cttz.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157294.547808.patch
Type: text/x-patch
Size: 34187 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230807/343a6564/attachment.bin>


More information about the llvm-commits mailing list