From 70925b05698aa5f393b8718daea2276f2f7f8839 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 8 Nov 2002 22:27:25 +0000 Subject: [PATCH] ONLY merge in the aux call sites, this causes a HUGE speedup git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4640 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/DataStructure/BottomUpClosure.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Analysis/DataStructure/BottomUpClosure.cpp b/lib/Analysis/DataStructure/BottomUpClosure.cpp index b3396dace96..ec9e0db9e48 100644 --- a/lib/Analysis/DataStructure/BottomUpClosure.cpp +++ b/lib/Analysis/DataStructure/BottomUpClosure.cpp @@ -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--);