With Zbkb, a bitreverse can be split into a rev8 and a brev8.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/test/CodeGen/RISCV/bswap-bitreverse.ll | ||
---|---|---|
851 | We need some more DAG combines to improve this. |
Comment Actions
llvm/test/CodeGen/RISCV/bswap-bitreverse.ll | ||
---|---|---|
851 |
Will you continue to update this patch? or put it later if put it later. what about add an // TODO: comment in the proper place. |
llvm/test/CodeGen/RISCV/bswap-bitreverse.ll | ||
---|---|---|
851 | I'll do it another patch. It's likely going to need changes in a different file. |
llvm/lib/Target/RISCV/RISCVISelLowering.cpp | ||
---|---|---|
285 | zbkp -> zbkb? |
zbkp -> zbkb?