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

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 29 07:03:01 PDT 2022


spatel added a comment.

In D120648#3410788 <https://reviews.llvm.org/D120648#3410788>, @Chenbing.Zheng wrote:

> Sorry for my delayed reply,I think what you said makes sense. I will abundant this patch and I have update D121504 <https://reviews.llvm.org/D121504> according to your suggestion. Would you mind review it and creat your patch to solve it.

Thanks for committing the extra tests. I posted D122655 <https://reviews.llvm.org/D122655> to transform those. We can generalize it to handle bitreverse as a follow-up patch if that is needed.


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

https://reviews.llvm.org/D120648



More information about the llvm-commits mailing list