The callee is not correct, and confuses the TD pass. Null it out.
authorChris Lattner <sabre@nondot.org>
Tue, 22 Oct 2002 15:58:46 +0000 (15:58 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 22 Oct 2002 15:58:46 +0000 (15:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4259 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/DataStructure/BottomUpClosure.cpp

index 6d1a575e6b7551877cde71567443af0a17f39dba..671863e1b9dc2b9e342b0403ff331ac0d1c96145 100644 (file)
@@ -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,