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

Chenbing.Zheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 28 05:47:46 PST 2022


Chenbing.Zheng added a comment.

In D120648#3348738 <https://reviews.llvm.org/D120648#3348738>, @lebedev.ri wrote:

> Could you please post the legality reasoning, not just state what the fold is?
>
> https://alive2.llvm.org/ce/z/gRNCw5

F22261367: image.png <https://reviews.llvm.org/F22261367>


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120648



More information about the llvm-commits mailing list