aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis/AliasSetTracker.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-03-15 06:24:15 +0000
committerChris Lattner <sabre@nondot.org>2004-03-15 06:24:15 +0000
commitdf209fcc7e04a474ad8d572e4c7e21ce1c944334 (patch)
treec4c46fa27449be3ebf63a5653cde7351716df45b /lib/Analysis/AliasSetTracker.cpp
parent46234fd97f1747b9f2cfce16e68bda3bf150bb3e (diff)
downloadexternal_llvm-df209fcc7e04a474ad8d572e4c7e21ce1c944334.zip
external_llvm-df209fcc7e04a474ad8d572e4c7e21ce1c944334.tar.gz
external_llvm-df209fcc7e04a474ad8d572e4c7e21ce1c944334.tar.bz2
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
Diffstat (limited to 'lib/Analysis/AliasSetTracker.cpp')
-rw-r--r--lib/Analysis/AliasSetTracker.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Analysis/AliasSetTracker.cpp b/lib/Analysis/AliasSetTracker.cpp
index d266c2a..450ba93 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();