[ValueTracking] Improve mul handling in isKnownNonEqual()
X != X * C is true if: * C is not 0 or 1 * X is not 0 * mul is nsw or nuw Proof: https://alive2.llvm.org/ce/z/uwF29z This is motivated by one of the cases in D98422.
Loading
Please sign in to comment