The Globals graph must become complete at the end of the BU phase!
authorChris Lattner <sabre@nondot.org>
Sat, 20 Sep 2003 23:27:05 +0000 (23:27 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 20 Sep 2003 23:27:05 +0000 (23:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8638 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/DataStructure/BottomUpClosure.cpp

index f5d435fe45d4ad130745c9d06118198dd9d4572a..5019d90845069613c58b282fb781a0a119c416a7 100644 (file)
@@ -48,6 +48,11 @@ bool BUDataStructures::run(Module &M) {
     }
 
   NumCallEdges += ActualCallees.size();
+
+  // At the end of the bottom-up pass, the globals graph becomes complete.
+  // FIXME: This is not the right way to do this, but it is sorta better than
+  // nothing!
+  GlobalsGraph->maskIncompleteMarkers();
   return false;
 }