Fix a glaring bug

llvm-svn: 10400
This commit is contained in:
Chris Lattner 2003-12-11 06:06:28 +00:00
parent bc1197f292
commit 17790fbb5b
1 changed files with 1 additions and 0 deletions

View File

@ -180,6 +180,7 @@ BasicAliasAnalysis::alias(const Value *V1, unsigned V1Size,
if (const Constant *C = dyn_cast<Constant>(GEP->getOperand(i))) {
if (!C->isNullValue()) {
ConstantFound = true;
AllZerosFound = false;
break;
}
} else {