From 09a21dc2f52a1dc1507d4a39976434233361ce21 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 8 Nov 2002 22:27:25 +0000 Subject: ONLY merge in the aux call sites, this causes a HUGE speedup llvm-svn: 4640 --- llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp') diff --git a/llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp b/llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp index b3396dace96..ec9e0db9e48 100644 --- a/llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp +++ b/llvm/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--); -- cgit v1.2.3