summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-11-08 22:27:25 +0000
committerChris Lattner <sabre@nondot.org>2002-11-08 22:27:25 +0000
commit09a21dc2f52a1dc1507d4a39976434233361ce21 (patch)
tree9bcf3577efd1c352a902146a81edb71de63b99e0 /llvm/lib/Analysis
parent56363a05e6e39bfaaf7a4b37a7ebd1fdd47dbb0c (diff)
downloadbcm5719-llvm-09a21dc2f52a1dc1507d4a39976434233361ce21.tar.gz
bcm5719-llvm-09a21dc2f52a1dc1507d4a39976434233361ce21.zip
ONLY merge in the aux call sites, this causes a HUGE speedup
llvm-svn: 4640
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r--llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp3
1 files changed, 2 insertions, 1 deletions
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--);
OpenPOWER on IntegriCloud