[llvm] [InstCombine] Extend `foldICmpAddConstant` to disjoint `or`. (PR #75899)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 4 01:27:55 PST 2024


nikic wrote:

> After my change:

I don't really get what your change does in that example. Why is it changing the comparison operand from 0 to -15? Where is the or + icmp pattern in this sample?

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


More information about the llvm-commits mailing list