Skip to content
Snippets Groups Projects
Commit d3d5c5c9 authored by Chris Lattner's avatar Chris Lattner
Browse files

Try using trivially dead deletion

llvm-svn: 7075
parent 20d93ca0
No related branches found
No related tags found
No related merge requests found
...@@ -135,6 +135,7 @@ void TDDataStructures::calculateGraphFrom(Function &F) { ...@@ -135,6 +135,7 @@ void TDDataStructures::calculateGraphFrom(Function &F) {
void TDDataStructures::inlineGraphIntoCallees(DSGraph &Graph) { void TDDataStructures::inlineGraphIntoCallees(DSGraph &Graph) {
// Recompute the Incomplete markers and eliminate unreachable nodes. // Recompute the Incomplete markers and eliminate unreachable nodes.
Graph.removeTriviallyDeadNodes();
Graph.maskIncompleteMarkers(); Graph.maskIncompleteMarkers();
// If any of the functions has incomplete incoming arguments, don't mark any // If any of the functions has incomplete incoming arguments, don't mark any
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment