From: Chris Lattner Date: Mon, 15 Mar 2004 06:24:15 +0000 (+0000) Subject: This assertion is bogus now that calls do not necessarily read/write memory X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=df209fcc7e04a474ad8d572e4c7e21ce1c944334;p=oota-llvm.git This assertion is bogus now that calls do not necessarily read/write memory git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12421 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/AliasSetTracker.cpp b/lib/Analysis/AliasSetTracker.cpp index d266c2a5a07..450ba935bc0 100644 --- a/lib/Analysis/AliasSetTracker.cpp +++ b/lib/Analysis/AliasSetTracker.cpp @@ -117,8 +117,6 @@ void AliasSet::addCallSite(CallSite CS, AliasAnalysis &AA) { bool AliasSet::aliasesPointer(const Value *Ptr, unsigned Size, AliasAnalysis &AA) const { if (AliasTy == MustAlias) { - assert(CallSites.empty() && "Illegal must alias set!"); - // If this is a set of MustAliases, only check to see if the pointer aliases // SOME value in the set... HashNodePair *SomePtr = getSomePointer();