Make sure to remove incomplete markers before we add to them! :)
authorChris Lattner <sabre@nondot.org>
Sun, 13 Mar 2005 20:32:26 +0000 (20:32 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 13 Mar 2005 20:32:26 +0000 (20:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20585 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/DataStructure/BottomUpClosure.cpp
lib/Analysis/DataStructure/CompleteBottomUp.cpp
lib/Analysis/DataStructure/EquivClassGraphs.cpp

index ba559bb0e6723009a6804459190fc1ec980cf52e..5fca3ad43310c7e59b48d4f8b830821811dd6439 100644 (file)
@@ -98,6 +98,7 @@ bool BUDataStructures::runOnModule(Module &M) {
       if (isa<GlobalVariable>(*I))
         RC.getClonedNH(GG.getNodeForValue(*I));
 
+    MainGraph.maskIncompleteMarkers();
     MainGraph.markIncompleteNodes(DSGraph::MarkFormalArgs | 
                                   DSGraph::IgnoreGlobals);
   }
index 77a5f32fa59bc249bc4abf9d2d501cdf1247e558..e38aebfb81394118922318f993d0d47ef7a08b6a 100644 (file)
@@ -107,6 +107,7 @@ bool CompleteBUDataStructures::runOnModule(Module &M) {
       if (isa<GlobalVariable>(*I))
         RC.getClonedNH(GG.getNodeForValue(*I));
 
+    MainGraph.maskIncompleteMarkers();
     MainGraph.markIncompleteNodes(DSGraph::MarkFormalArgs | 
                                   DSGraph::IgnoreGlobals);
   }
index 8dc2064810436489dba38fc7ef34728aa00780c5..8e69291cdbc95566f1b1fcfea4baab53218f562d 100644 (file)
@@ -120,6 +120,7 @@ bool EquivClassGraphs::runOnModule(Module &M) {
       if (isa<GlobalVariable>(*I))
         RC.getClonedNH(GG.getNodeForValue(*I));
 
+    MainGraph.maskIncompleteMarkers();
     MainGraph.markIncompleteNodes(DSGraph::MarkFormalArgs | 
                                   DSGraph::IgnoreGlobals);
   }