[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp

Chris Lattner lattner at cs.uiuc.edu
Tue Mar 15 14:47:34 PST 2005



Changes in directory llvm/lib/Analysis/DataStructure:

EquivClassGraphs.cpp updated: 1.31 -> 1.32
---
Log message:

make sure to mark nodes in the globals graph incomplete after computing it
so that external globals (and whatever they point to) are marked incomplete.


---
Diffs of the changes:  (+1 -0)

 EquivClassGraphs.cpp |    1 +
 1 files changed, 1 insertion(+)


Index: llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp
diff -u llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp:1.31 llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp:1.32
--- llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp:1.31	Tue Mar 15 16:10:04 2005
+++ llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp	Tue Mar 15 16:47:18 2005
@@ -102,6 +102,7 @@
   DEBUG(CheckAllGraphs(&M, *this));
 
   getGlobalsGraph().removeTriviallyDeadNodes();
+  getGlobalsGraph().markIncompleteNodes(DSGraph::IgnoreGlobals);
 
   // Merge the globals variables (not the calls) from the globals graph back
   // into the main function's graph so that the main function contains all of






More information about the llvm-commits mailing list