[llvm] [InstCombine] fold `(a == 1 && b != 0) || (a != 0 && b == 0))` to `(a ==0) != (b == 0)` (PR #94915)

Pavel Skripkin via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 19 01:38:49 PDT 2024


pskrgag wrote:

Also there is a small typo in pr title: `a == 1 && b != 0` -> `a == 0 && b != 0`. 

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


More information about the llvm-commits mailing list