[PATCH] D155216: [RISCV] Add initial SDNode patterns for unary zvbb instructions
Luke Lau via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 13 09:26:59 PDT 2023
luke created this revision.
luke added reviewers: 4vtomat, craig.topper, reames, fakepaper56, asb, frasercrmck.
Herald added subscribers: jobnoorman, 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, eopXD, MaskRay.
Herald added a project: LLVM.
This patch adds pseudos and SDNode patterns for vbrev.v, vrev8.v, vclz.v,
vctz.v and vcpop.v.
I've only added them for integer element types so far since we're lacking tests
for floats.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D155216
Files:
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/lib/Target/RISCV/RISCVInstrInfo.td
llvm/lib/Target/RISCV/RISCVInstrInfoV.td
llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
llvm/test/CodeGen/RISCV/rvv/bitreverse-sdnode.ll
llvm/test/CodeGen/RISCV/rvv/bswap-sdnode.ll
llvm/test/CodeGen/RISCV/rvv/ctlz-sdnode.ll
llvm/test/CodeGen/RISCV/rvv/ctpop-sdnode.ll
llvm/test/CodeGen/RISCV/rvv/cttz-sdnode.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155216.540075.patch
Type: text/x-patch
Size: 71349 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230713/6d1a08df/attachment-0001.bin>
More information about the llvm-commits
mailing list