[all-commits] [llvm/llvm-project] d8f929: [RISCV] Custom legalize BITREVERSE with Zbkb.
Craig Topper via All-commits
all-commits at lists.llvm.org
Fri Jan 28 23:30:48 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d8f929a567083a6b90264193f1e4476f6b77c5fe
https://github.com/llvm/llvm-project/commit/d8f929a567083a6b90264193f1e4476f6b77c5fe
Author: Craig Topper <craig.topper at sifive.com>
Date: 2022-01-28 (Fri, 28 Jan 2022)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.h
M llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
M llvm/test/CodeGen/RISCV/bswap-bitreverse.ll
Log Message:
-----------
[RISCV] Custom legalize BITREVERSE with Zbkb.
With Zbkb, a bitreverse can be split into a rev8 and a brev8.
Reviewed By: VincentWu
Differential Revision: https://reviews.llvm.org/D118430
More information about the All-commits
mailing list