summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/DataStructure/TopDownClosure.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-07-02 19:49:11 +0000
committerChris Lattner <sabre@nondot.org>2003-07-02 19:49:11 +0000
commitd3d5c5c98e77a46e041325072e1711ecf8b8298d (patch)
treefa1e4aed54f5c00ba67299005da6920d179461fa /llvm/lib/Analysis/DataStructure/TopDownClosure.cpp
parent20d93ca01d8ebbff3438149d11127bc05f0e7fc0 (diff)
downloadbcm5719-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.cpp1
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
OpenPOWER on IntegriCloud