[PATCH] D121448: [DAGCombine] fold (bitreverse(srl (bitreverse c), x)) -> (shl c, x)

Chenbing.Zheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 11 22:25:45 PST 2022


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

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


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

https://reviews.llvm.org/D121448

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121448.414809.patch
Type: text/x-patch
Size: 36247 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220312/12a6988b/attachment.bin>


More information about the llvm-commits mailing list