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 | 47030f8a7296828ae024788ba555d91420c92ec6 (patch) | |
tree | 977b1ba35565a33c6246d7a6ca9ea74d19e93dfc /lib | |
parent | ce14ec390106e4aa21e6b8366a7386e265fd7c3d (diff) | |
download | external_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.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 |