You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`(icmp eq/ne (and X, P2), (and X, -P2))`
-> `(icmp ult/uge X, P2 * 2)`
If `P2` is constant, we can perform this fold profitably even if the
`and` ops are multi-use.
NB: This came up in some of the diffs resulting from llvm#94648
Proofs: https://alive2.llvm.org/ce/z/mfd3G9
0 commit comments