ONLY merge in the aux call sites, this causes a HUGE speedup
authorChris Lattner <sabre@nondot.org>
Fri, 8 Nov 2002 22:27:25 +0000 (22:27 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 8 Nov 2002 22:27:25 +0000 (22:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4640 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/DataStructure/BottomUpClosure.cpp

index b3396dace962b524b0a1f841858f03286742d60e..ec9e0db9e48a6a5451a03e6acd9b509ae8c2f286 100644 (file)
@@ -112,7 +112,8 @@ DSGraph &BUDataStructures::calculateGraph(Function &F) {
                   << " in: " << F.getName() << "\n");
 
             // Handle self recursion by resolving the arguments and return value
-            Graph->mergeInGraph(Call, GI, DSGraph::StripAllocaBit);
+            Graph->mergeInGraph(Call, GI, DSGraph::StripAllocaBit |
+                                DSGraph::DontCloneCallNodes);
 
             // Erase the entry in the Callees vector
             Callees.erase(Callees.begin()+c--);