summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/DataStructure/CompleteBottomUp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Analysis/DataStructure/CompleteBottomUp.cpp')
-rw-r--r--llvm/lib/Analysis/DataStructure/CompleteBottomUp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/DataStructure/CompleteBottomUp.cpp b/llvm/lib/Analysis/DataStructure/CompleteBottomUp.cpp
index b8189c522bb..95c9d3cf5db 100644
--- a/llvm/lib/Analysis/DataStructure/CompleteBottomUp.cpp
+++ b/llvm/lib/Analysis/DataStructure/CompleteBottomUp.cpp
@@ -222,5 +222,5 @@ void CompleteBUDataStructures::processGraph(DSGraph &G) {
// Delete dead nodes. Treat globals that are unreachable but that can
// reach live nodes as live.
- G.removeDeadNodes(DSGraph::RemoveUnreachableGlobals);
+ G.removeDeadNodes(DSGraph::KeepUnreachableGlobals);
}
OpenPOWER on IntegriCloud