forked from OSchip/llvm-project
This assertion is bogus now that calls do not necessarily read/write memory
llvm-svn: 12421
This commit is contained in:
parent
cd83282df1
commit
f5c8f4cea6
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue