[llvm] [InstCombine] Fold (1 << a) to (a + 1) and (2 >> a) to (2 - a) when a is in [0,1] (PR #207108)

Aayush Shrivastava via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 8 03:53:03 PDT 2026


iamaayushrivastava wrote:

> Please provide alive2 proof and put the link in the PR description.

https://alive2.llvm.org/ce/z/Bb9x8Y

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


More information about the llvm-commits mailing list