[llvm] [InstCombine] Fold icmp eq/ne (or X, Y), 0 with known-nonzero OR (PR #190775)

Andreas Jonson via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 18 03:18:39 PDT 2026


andjo403 wrote:

probably a good place to add this pattern is in https://github.com/llvm/llvm-project/blob/8872678ae766ed41dd5db2854bc525085e802d34/llvm/lib/Analysis/ValueTracking.cpp#L9636-L9639

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


More information about the llvm-commits mailing list