diff options
author | Chris Lattner <sabre@nondot.org> | 2002-11-08 22:27:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-11-08 22:27:25 +0000 |
commit | 70925b05698aa5f393b8718daea2276f2f7f8839 (patch) | |
tree | 6dc9cd85180088561302533c154d7f6215a4bd34 /lib/Analysis/DataStructure/BottomUpClosure.cpp | |
parent | acf491f0b41a4b044d4e908025de592eb9979e0f (diff) | |
download | external_llvm-70925b05698aa5f393b8718daea2276f2f7f8839.zip external_llvm-70925b05698aa5f393b8718daea2276f2f7f8839.tar.gz external_llvm-70925b05698aa5f393b8718daea2276f2f7f8839.tar.bz2 |
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
Diffstat (limited to 'lib/Analysis/DataStructure/BottomUpClosure.cpp')
-rw-r--r-- | lib/Analysis/DataStructure/BottomUpClosure.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Analysis/DataStructure/BottomUpClosure.cpp b/lib/Analysis/DataStructure/BottomUpClosure.cpp index b3396da..ec9e0db 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--); |