[llvm] [InstCombine] Fold max(max(x, c1) << c2, c3) —> max(x << c2, c3) when c3 >= c1 * 2 ^ c2 (PR #140526)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 23 10:28:13 PDT 2025


Charukesh827 wrote:

made all suggested changes, the rightDistributesOverLeft follows this alive [proof](https://alive2.llvm.org/ce/z/25s-3Z)

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


More information about the llvm-commits mailing list