aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-03-21 08:43:32 +0000
committerChris Lattner <sabre@nondot.org>2005-03-21 08:43:32 +0000
commitc2b94805fbaf0562f51d9fb682f0ec9b077706a6 (patch)
tree79c3aa95e64e37fe08bea2c92b6a415f2ad939b4
parent355ad1f3aff45acc0bd06afd7c4150509334a20d (diff)
downloadexternal_llvm-c2b94805fbaf0562f51d9fb682f0ec9b077706a6.zip
external_llvm-c2b94805fbaf0562f51d9fb682f0ec9b077706a6.tar.gz
external_llvm-c2b94805fbaf0562f51d9fb682f0ec9b077706a6.tar.bz2
'note to self'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20727 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Analysis/DataStructure/TopDownClosure.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/Analysis/DataStructure/TopDownClosure.cpp b/lib/Analysis/DataStructure/TopDownClosure.cpp
index 26f259e..76f8244 100644
--- a/lib/Analysis/DataStructure/TopDownClosure.cpp
+++ b/lib/Analysis/DataStructure/TopDownClosure.cpp
@@ -188,8 +188,11 @@ void TDDataStructures::InlineCallersIntoGraph(DSGraph &DSG) {
std::sort(EdgesFromCaller.begin(), EdgesFromCaller.end());
- // Merge information from the globals graph into this graph.
- // FIXME: is this necessary?
+ // Merge information from the globals graph into this graph. FIXME: This is
+ // stupid. Instead of us cloning information from the GG into this graph,
+ // then having RemoveDeadNodes clone it back, we should do all of this as a
+ // post-pass over all of the graphs. We need to take cloning out of
+ // removeDeadNodes and gut removeDeadNodes at the same time first though. :(
{
DSGraph &GG = *DSG.getGlobalsGraph();
ReachabilityCloner RC(DSG, GG,