forked from OSchip/llvm-project
Fix a crasher when finding the dependency of a call.
llvm-svn: 38510
This commit is contained in:
parent
1279eaf776
commit
faf9e42479
|
@ -83,7 +83,8 @@ Instruction* MemoryDependenceAnalysis::getCallSiteDependency(CallSite C, bool lo
|
|||
} else {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
} else
|
||||
continue;
|
||||
|
||||
if (AA.getModRefInfo(C, pointer, pointerSize) != AliasAnalysis::NoModRef) {
|
||||
depGraphLocal.insert(std::make_pair(C.getInstruction(), std::make_pair(QI, true)));
|
||||
|
|
Loading…
Reference in New Issue