From 17790fbb5b0a305ddc158b675cc3ebc752d2fecb Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 11 Dec 2003 06:06:28 +0000 Subject: [PATCH] Fix a glaring bug llvm-svn: 10400 --- llvm/lib/Analysis/BasicAliasAnalysis.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/Analysis/BasicAliasAnalysis.cpp b/llvm/lib/Analysis/BasicAliasAnalysis.cpp index b5a72f002e92..27b7f5305ec8 100644 --- a/llvm/lib/Analysis/BasicAliasAnalysis.cpp +++ b/llvm/lib/Analysis/BasicAliasAnalysis.cpp @@ -180,6 +180,7 @@ BasicAliasAnalysis::alias(const Value *V1, unsigned V1Size, if (const Constant *C = dyn_cast(GEP->getOperand(i))) { if (!C->isNullValue()) { ConstantFound = true; + AllZerosFound = false; break; } } else {