projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce14ec3
)
Try using trivially dead deletion
author
Chris Lattner
<sabre@nondot.org>
Wed, 2 Jul 2003 19:49:11 +0000
(19:49 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 2 Jul 2003 19:49:11 +0000
(19:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7075
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/DataStructure/TopDownClosure.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/DataStructure/TopDownClosure.cpp
b/lib/Analysis/DataStructure/TopDownClosure.cpp
index 834c594b29d3602aa3a5f26b0b635656fe6c85d1..117556940093043d4e99fabea6bc9fd69a23a290 100644
(file)
--- 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