mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-11 07:18:44 +00:00
The callee is not correct, and confuses the TD pass. Null it out.
llvm-svn: 4259
This commit is contained in:
parent
58781838b7
commit
61b32b3ab0
@ -146,6 +146,7 @@ DSGraph &BUDataStructures::calculateGraph(Function &F) {
|
|||||||
std::vector<DSCallSite> &CallSitesForFunc = CallSites[&FI];
|
std::vector<DSCallSite> &CallSitesForFunc = CallSites[&FI];
|
||||||
CallSitesForFunc.push_back(Call);
|
CallSitesForFunc.push_back(Call);
|
||||||
CallSitesForFunc.back().setResolvingCaller(&F);
|
CallSitesForFunc.back().setResolvingCaller(&F);
|
||||||
|
CallSitesForFunc.back().setCallee(0);
|
||||||
|
|
||||||
// Clone the callee's graph into the current graph, keeping
|
// Clone the callee's graph into the current graph, keeping
|
||||||
// track of where scalars in the old graph _used_ to point,
|
// track of where scalars in the old graph _used_ to point,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user