[llvm] [InstCombine] fold `(icmp eq/ne (or disjoint x, C0), C1)` -> `(icmp eq/ne x, C0^C1)` (PR #87734)

via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 7 09:30:52 PDT 2024


AtariDreams wrote:

Given how the test cases show variables and not just constants, can this fold apply to variables too? 

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


More information about the llvm-commits mailing list