1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

This assertion is bogus now that calls do not necessarily read/write memory

llvm-svn: 12421
This commit is contained in:
Chris Lattner 2004-03-15 06:24:15 +00:00
parent d8905ad834
commit 5654b5de80

View File

@ -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();