[llvm] [ValueTracking] Recognize `X op (X != 0)` as non-zero (PR #88579)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon May 20 13:43:39 PDT 2024


nikic wrote:

Pretty sure that this will miscompile if X is undef and isKnownNonZero() is used in a transform that retains the original expression.

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


More information about the llvm-commits mailing list