[PATCH] D118012: [DAGCombiner][RISCV] Canonicalize (bswap(bitreverse(x))->bitreverse(bswap(x)).

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 23 19:33:29 PST 2022


craig.topper updated this revision to Diff 402386.
craig.topper added a comment.
Herald added subscribers: ecnelises, hiraditya.

Upload whole patch


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118012/new/

https://reviews.llvm.org/D118012

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/RISCV/bswap-bitreverse-ctlz-cttz-ctpop.ll
  llvm/test/CodeGen/RISCV/rv32zbp.ll
  llvm/test/CodeGen/RISCV/rv64zbp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118012.402386.patch
Type: text/x-patch
Size: 30204 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220124/02301765/attachment.bin>


More information about the llvm-commits mailing list