This patch add another icmp fold for -1 case.
This fixes https://github.com/llvm/llvm-project/issues/62311,
where we want instcombine to merge all compare intructions together so
later passes like simplifycfg and slpvectorize can better optimize this
chained comparison.
Is there why this patch adds this new functionality and doesn't juist update foldLogOpOfMaskedICmps to handle undefs? Is it alot of work?