[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
Thu Mar 10 23:18:45 PST 2022


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

fix test


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.414591.patch
Type: text/x-patch
Size: 8760 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220311/4e942c9b/attachment.bin>


More information about the llvm-commits mailing list