diff options
author | Chris Lattner <sabre@nondot.org> | 2002-10-22 15:58:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-10-22 15:58:46 +0000 |
commit | d90e74ae13a2789877dd09d041305ae9912fd1c4 (patch) | |
tree | 1057520db12bee30d9ed3ca69e8141643bc0a93e | |
parent | 96c998fb19392b3679301739258fb3dc60a1e8db (diff) | |
download | bcm5719-llvm-d90e74ae13a2789877dd09d041305ae9912fd1c4.tar.gz bcm5719-llvm-d90e74ae13a2789877dd09d041305ae9912fd1c4.zip |
The callee is not correct, and confuses the TD pass. Null it out.
llvm-svn: 4259
-rw-r--r-- | llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp b/llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp index 6d1a575e6b7..671863e1b9d 100644 --- a/llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp +++ b/llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp @@ -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, |