diff options
author | Chris Lattner <sabre@nondot.org> | 2003-07-02 19:49:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-07-02 19:49:11 +0000 |
commit | d3d5c5c98e77a46e041325072e1711ecf8b8298d (patch) | |
tree | fa1e4aed54f5c00ba67299005da6920d179461fa /llvm/lib/Analysis/DataStructure/TopDownClosure.cpp | |
parent | 20d93ca01d8ebbff3438149d11127bc05f0e7fc0 (diff) | |
download | bcm5719-llvm-d3d5c5c98e77a46e041325072e1711ecf8b8298d.tar.gz bcm5719-llvm-d3d5c5c98e77a46e041325072e1711ecf8b8298d.zip |
Try using trivially dead deletion
llvm-svn: 7075
Diffstat (limited to 'llvm/lib/Analysis/DataStructure/TopDownClosure.cpp')
-rw-r--r-- | llvm/lib/Analysis/DataStructure/TopDownClosure.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/DataStructure/TopDownClosure.cpp b/llvm/lib/Analysis/DataStructure/TopDownClosure.cpp index 834c594b29d..11755694009 100644 --- a/llvm/lib/Analysis/DataStructure/TopDownClosure.cpp +++ b/llvm/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 |