Fix comment

llvm-svn: 23686
This commit is contained in:
Chris Lattner 2005-10-10 16:52:03 +00:00
parent 3d1d4a3d12
commit 7730924067
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ static bool MaskedValueIsZero(const SDOperand &Op, uint64_t Mask,
}
return false;
case ISD::ADD:
// (add X, Y) & C == 0 iff (X&C)&(Y&C) == 0 and all bits are low bits.
// (add X, Y) & C == 0 iff (X&C)|(Y&C) == 0 and all bits are low bits.
if ((Mask&(Mask+1)) == 0) { // All low bits
if (MaskedValueIsZero(Op.getOperand(0), Mask, TLI) &&
MaskedValueIsZero(Op.getOperand(1), Mask, TLI))