[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/DataStructure.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Jan 27 21:25:04 PST 2004
Changes in directory llvm/lib/Analysis/DataStructure:
DataStructure.cpp updated: 1.143 -> 1.144
---
Log message:
Eliminate the call to removeTriviallyDeadNodes from updateFromGlobals graph,
moving it to the start of removeDeadNodes. This speeds up DSA by 2s on perlbmk
from 41s
---
Diffs of the changes: (+1 -4)
Index: llvm/lib/Analysis/DataStructure/DataStructure.cpp
diff -u llvm/lib/Analysis/DataStructure/DataStructure.cpp:1.143 llvm/lib/Analysis/DataStructure/DataStructure.cpp:1.144
--- llvm/lib/Analysis/DataStructure/DataStructure.cpp:1.143 Tue Jan 27 21:03:06 2004
+++ llvm/lib/Analysis/DataStructure/DataStructure.cpp Tue Jan 27 21:24:41 2004
@@ -1071,9 +1071,6 @@
if (It != GlobalsGraph->ScalarMap.end())
RC.merge(getNodeForValue(*I), It->second);
}
-
- // Merging global nodes leaves behind unused nodes: get rid of them now.
- removeTriviallyDeadNodes();
}
/// cloneInto - Clone the specified DSGraph into the current graph. The
@@ -1597,7 +1594,7 @@
// Reduce the amount of work we have to do... remove dummy nodes left over by
// merging...
- //removeTriviallyDeadNodes();
+ removeTriviallyDeadNodes();
TIME_REGION(X, "removeDeadNodes");
More information about the llvm-commits
mailing list