1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Try using trivially dead deletion

llvm-svn: 7075
This commit is contained in:
Chris Lattner 2003-07-02 19:49:11 +00:00
parent 8dd0e2fb27
commit 59bb44723a

View File

@ -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