summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commitf5c8f4cea60a0a2ad8604f777efdfb4954339461 (patch)
tree212a904abc6660e83b4c50f769c9722ba0e7a56e /llvm/lib
parentcd83282df1fae2a4f5be101e66bbdc73e1fc875b (diff)
downloadbcm5719-llvm-f5c8f4cea60a0a2ad8604f777efdfb4954339461.tar.gz
bcm5719-llvm-f5c8f4cea60a0a2ad8604f777efdfb4954339461.zip
This assertion is bogus now that calls do not necessarily read/write memory
llvm-svn: 12421
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Analysis/AliasSetTracker.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/AliasSetTracker.cpp b/llvm/lib/Analysis/AliasSetTracker.cpp
index d266c2a5a07..450ba935bc0 100644
--- a/llvm/lib/Analysis/AliasSetTracker.cpp
+++ b/llvm/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();
OpenPOWER on IntegriCloud