mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-23 11:04:49 +00:00
Fix a crasher when finding the dependency of a call.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38510 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
776ee1fb33
commit
202da14fe0
@ -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…
x
Reference in New Issue
Block a user