diff options
author | Chris Lattner <sabre@nondot.org> | 2005-03-21 08:43:32 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-03-21 08:43:32 +0000 |
commit | 7269f15e8fe7de3dccaee69b4a205a0bcdf99441 (patch) | |
tree | cd22103d75f184073dd9f12e20c5ce88ff01e708 /llvm/lib/Analysis/DataStructure | |
parent | a5f4b773d90c06fa2c20130970d9e54f8d8b352a (diff) | |
download | bcm5719-llvm-7269f15e8fe7de3dccaee69b4a205a0bcdf99441.tar.gz bcm5719-llvm-7269f15e8fe7de3dccaee69b4a205a0bcdf99441.zip |
'note to self'
llvm-svn: 20727
Diffstat (limited to 'llvm/lib/Analysis/DataStructure')
-rw-r--r-- | llvm/lib/Analysis/DataStructure/TopDownClosure.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/DataStructure/TopDownClosure.cpp b/llvm/lib/Analysis/DataStructure/TopDownClosure.cpp index 26f259e649e..76f8244d077 100644 --- a/llvm/lib/Analysis/DataStructure/TopDownClosure.cpp +++ b/llvm/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, |