[PATCH] D120648: [DAGCombine] fold (bswap(srl (bswap c), x)) -> (shl c, x)

Chenbing.Zheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 11 19:11:12 PST 2022


Chenbing.Zheng updated this revision to Diff 414786.
Chenbing.Zheng added a comment.

rebase precommit tests D121504 <https://reviews.llvm.org/D121504>


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120648

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/RISCV/bswap-bitreverse.ll
  llvm/test/CodeGen/RISCV/bswap-srli-bswap.ll
  llvm/test/CodeGen/X86/combine-bswap.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120648.414786.patch
Type: text/x-patch
Size: 12630 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220312/2e17fa0d/attachment.bin>


More information about the llvm-commits mailing list