Thanks Duncan Sands!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127323
91177308-0d34-0410-b5e6-
96231b3b80d8
if (!KnownNonNegative)
break;
// fall-through
- case ICmpInst::ICMP_EQ:
+ case ICmpInst::ICMP_NE:
case ICmpInst::ICMP_UGT:
case ICmpInst::ICMP_UGE:
return ConstantInt::getTrue(RHS->getContext());
if (!KnownNonNegative)
break;
// fall-through
- case ICmpInst::ICMP_NE:
+ case ICmpInst::ICMP_EQ:
case ICmpInst::ICMP_ULT:
case ICmpInst::ICMP_ULE:
return ConstantInt::getFalse(RHS->getContext());