mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
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
This commit is contained in:
parent
46234fd97f
commit
df209fcc7e
@ -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
Block a user