[InstCombine] Fold ((cst << x) & 1) --> x == 0 when cst is odd (#79772)
Fold ((cst << x) & 1) to zext(x == 0) when cst is odd. Fixes: https://github.com/llvm/llvm-project/issues/73384 Alive2: https://alive2.llvm.org/ce/z/5RbaK6
Loading
Please sign in to comment