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

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 24 08:32:25 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGa43ed49f5b16: [DAGCombiner][RISCV] Canonicalize (bswap(bitreverse(x))->bitreverse(bswap(x)). (authored by craig.topper).

Changed prior to commit:
  https://reviews.llvm.org/D118012?vs=402386&id=402543#toc

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.402543.patch
Type: text/x-patch
Size: 30385 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220124/bf8a8c92/attachment.bin>


More information about the llvm-commits mailing list