Avoid double negatives

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6945 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2003-06-28 21:58:28 +00:00
parent 35de11f3b1
commit 72d50a090f
2 changed files with 3 additions and 3 deletions
@@ -90,7 +90,7 @@ AliasAnalysis::AliasResult DSAA::alias(const Value *V1, unsigned V1Size,
unsigned O1 = I->second.getOffset(), O2 = J->second.getOffset();
// We can only make a judgement of one of the nodes is complete...
if (!N1->isIncomplete() || !N2->isIncomplete()) {
if (N1->isComplete() || N2->isComplete()) {
if (N1 != N2)
return NoAlias; // Completely different nodes.