commit | a00397e1eeaaffc21d01af612480476fe95b20a5 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Oct 03 21:55:28 2002 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Oct 03 21:55:28 2002 +0000 |
tree | 2facc280f2e02abe88f3b60df602b5c847466691 | |
parent | 6727ec64e8f2892dfdd0864a0ed05796f0716e31 [diff] [blame] |
Prune function nodes that are no longer referenced due to inlining git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4036 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/DataStructure/BottomUpClosure.cpp b/lib/Analysis/DataStructure/BottomUpClosure.cpp index 11ee606..475f687 100644 --- a/lib/Analysis/DataStructure/BottomUpClosure.cpp +++ b/lib/Analysis/DataStructure/BottomUpClosure.cpp
@@ -253,6 +253,7 @@ Graph->maskIncompleteMarkers(); Graph->markIncompleteNodes(); + Graph->removeTriviallyDeadNodes(false); Graph->removeDeadNodes(/*KeepAllGlobals*/ true, /*KeepCalls*/ true); DEBUG(std::cerr << " [BU] Done inlining: " << F.getName() << " ["