aboutsummaryrefslogtreecommitdiffstats
path: root/lib
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
commit47030f8a7296828ae024788ba555d91420c92ec6 (patch)
tree977b1ba35565a33c6246d7a6ca9ea74d19e93dfc /lib
parentce14ec390106e4aa21e6b8366a7386e265fd7c3d (diff)
downloadexternal_llvm-47030f8a7296828ae024788ba555d91420c92ec6.zip
external_llvm-47030f8a7296828ae024788ba555d91420c92ec6.tar.gz
external_llvm-47030f8a7296828ae024788ba555d91420c92ec6.tar.bz2
Try using trivially dead deletion
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7075 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Analysis/DataStructure/TopDownClosure.cpp1
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