[llvm] [InstCombine] Fold X * (2^N + 1) >> N -> X + X >> N, or directly to X if X >> N is 0 (PR #90295)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon May 20 23:17:07 PDT 2024


https://github.com/nikic requested changes to this pull request.

This PR looked sensible the last time I checked it -- now it contains another new random InstSimplify fold and also seems to change some one-use conditions.

Please learn some patience. Don't keep making random changes to your PR just because nobody is around to hit the merge button right this second. Do not ping PRs more often than once a week.

https://github.com/llvm/llvm-project/pull/90295


More information about the llvm-commits mailing list