[llvm] [InstCombine] Fold `(icmp eq/ne (add nuw x, y), 0)` -> `(icmp eq/ne (or x, y), 0)` (PR #88088)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 8 22:42:37 PDT 2024


https://github.com/nikic commented:

This LGTM with the test fixed. I agree that converting this to or is better.

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


More information about the llvm-commits mailing list