[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
Tue May 21 05:27:59 PDT 2024


nikic wrote:

You are modifying an existing fold to produce a different result (in a different pass now no less) and adding a new fold in the same PR. That's not going to fly. Please submit two PRs for the two changes.

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


More information about the llvm-commits mailing list