[PATCH] D120667: [DAGCombine][RISCV] Fold (bitreverse (srl X, C)) -> (shl (bitreverse X), C) if X is a bswap.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 28 10:13:50 PST 2022


craig.topper updated this revision to Diff 411833.
craig.topper added a comment.

Remove FIXMEs


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120667

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120667.411833.patch
Type: text/x-patch
Size: 4329 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220228/83ca1a30/attachment.bin>


More information about the llvm-commits mailing list