Make sure to remove incomplete markers before we add to them! :)
llvm-svn: 20585
diff --git a/llvm/lib/Analysis/DataStructure/CompleteBottomUp.cpp b/llvm/lib/Analysis/DataStructure/CompleteBottomUp.cpp
index 77a5f32..e38aebf 100644
--- a/llvm/lib/Analysis/DataStructure/CompleteBottomUp.cpp
+++ b/llvm/lib/Analysis/DataStructure/CompleteBottomUp.cpp
@@ -107,6 +107,7 @@
if (isa<GlobalVariable>(*I))
RC.getClonedNH(GG.getNodeForValue(*I));
+ MainGraph.maskIncompleteMarkers();
MainGraph.markIncompleteNodes(DSGraph::MarkFormalArgs |
DSGraph::IgnoreGlobals);
}