Reduce indentation.

llvm-svn: 122249
This commit is contained in:
Benjamin Kramer 2010-12-20 16:21:59 +00:00
parent 68531baea9
commit 2bca3a67b3
1 changed files with 5 additions and 7 deletions

View File

@ -1429,13 +1429,11 @@ Value *InstCombiner::FoldOrOfICmps(ICmpInst *LHS, ICmpInst *RHS) {
return getICmpValue(isSigned, Code, Op0, Op1, Builder);
}
}
{
// handle (roughly):
// (icmp ne (A & B), C) | (icmp ne (A & D), E)
Value* fold = foldLogOpOfMaskedICmps(LHS, RHS, ICmpInst::ICMP_NE, Builder);
if (fold) return fold;
}
// handle (roughly):
// (icmp ne (A & B), C) | (icmp ne (A & D), E)
if (Value *V = foldLogOpOfMaskedICmps(LHS, RHS, ICmpInst::ICMP_NE, Builder))
return V;
// This only handles icmp of constants: (icmp1 A, C1) | (icmp2 B, C2).
Value *Val = LHS->getOperand(0), *Val2 = RHS->getOperand(0);