[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Mar 22 14:10:38 PST 2005
Changes in directory llvm/lib/Analysis/DataStructure:
BottomUpClosure.cpp updated: 1.105 -> 1.106
---
Log message:
Mark external globals incomplete in the BU Globals graph, fixing
Analysis/DSGraph/2005-03-22-IncompleteGlobal.ll
---
Diffs of the changes: (+3 -0)
BottomUpClosure.cpp | 3 +++
1 files changed, 3 insertions(+)
Index: llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp
diff -u llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp:1.105 llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp:1.106
--- llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp:1.105 Mon Mar 21 18:36:51 2005
+++ llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp Tue Mar 22 16:10:22 2005
@@ -82,6 +82,9 @@
GlobalsGraph->removeTriviallyDeadNodes();
GlobalsGraph->maskIncompleteMarkers();
+ // Mark external globals incomplete.
+ GlobalsGraph->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
// the information about global pools and GV usage in the program.
More information about the llvm-commits
mailing list