diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Analysis/DataStructure/TopDownClosure.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Analysis/DataStructure/TopDownClosure.cpp b/lib/Analysis/DataStructure/TopDownClosure.cpp index 834c594..1175569 100644 --- a/lib/Analysis/DataStructure/TopDownClosure.cpp +++ b/lib/Analysis/DataStructure/TopDownClosure.cpp @@ -135,6 +135,7 @@ void TDDataStructures::calculateGraphFrom(Function &F) { void TDDataStructures::inlineGraphIntoCallees(DSGraph &Graph) { // Recompute the Incomplete markers and eliminate unreachable nodes. + Graph.removeTriviallyDeadNodes(); Graph.maskIncompleteMarkers(); // If any of the functions has incomplete incoming arguments, don't mark any |