mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-02 00:36:36 +00:00
The callee is not correct, and confuses the TD pass. Null it out.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4259 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3ec9a0a5cf
commit
9faf18d523
@ -146,6 +146,7 @@ DSGraph &BUDataStructures::calculateGraph(Function &F) {
|
||||
std::vector<DSCallSite> &CallSitesForFunc = CallSites[&FI];
|
||||
CallSitesForFunc.push_back(Call);
|
||||
CallSitesForFunc.back().setResolvingCaller(&F);
|
||||
CallSitesForFunc.back().setCallee(0);
|
||||
|
||||
// Clone the callee's graph into the current graph, keeping
|
||||
// track of where scalars in the old graph _used_ to point,
|
||||
|
Loading…
Reference in New Issue
Block a user