[llvm-commits] [poolalloc] r124965 - /poolalloc/trunk/lib/DSA/CompleteBottomUp.cpp
Arushi Aggarwal
aggarwa4 at illinois.edu
Sat Feb 5 10:41:59 PST 2011
Author: aggarwa4
Date: Sat Feb 5 12:41:58 2011
New Revision: 124965
URL: http://llvm.org/viewvc/llvm-project?rev=124965&view=rev
Log:
The callgraph construction seems redundant.
Already happens and end of BU.
Modified:
poolalloc/trunk/lib/DSA/CompleteBottomUp.cpp
Modified: poolalloc/trunk/lib/DSA/CompleteBottomUp.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/DSA/CompleteBottomUp.cpp?rev=124965&r1=124964&r2=124965&view=diff
==============================================================================
--- poolalloc/trunk/lib/DSA/CompleteBottomUp.cpp (original)
+++ poolalloc/trunk/lib/DSA/CompleteBottomUp.cpp Sat Feb 5 12:41:58 2011
@@ -52,8 +52,7 @@
for (Module::iterator F = M.begin(); F != M.end(); ++F) {
if (!(F->isDeclaration())){
- DSGraph *Graph = getOrCreateGraph(F);
- Graph->buildCompleteCallGraph(callgraph, GlobalFunctionList, filterCallees);
+ getOrCreateGraph(F);
}
}
callgraph.buildSCCs();
More information about the llvm-commits
mailing list