Fix a glaring bug
authorChris Lattner <sabre@nondot.org>
Thu, 11 Dec 2003 06:06:28 +0000 (06:06 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 11 Dec 2003 06:06:28 +0000 (06:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10400 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/BasicAliasAnalysis.cpp

index b5a72f002e9244604be33e1f767e2b904b730a89..27b7f5305ec88c688baf57f3f30678990a788578 100644 (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 {