[llvm-commits] [poolalloc] r120403 - /poolalloc/trunk/lib/DSA/CompleteBottomUp.cpp

Arushi Aggarwal aggarwa4 at illinois.edu
Mon Nov 29 23:01:33 PST 2010


Author: aggarwa4
Date: Tue Nov 30 01:01:33 2010
New Revision: 120403

URL: http://llvm.org/viewvc/llvm-project?rev=120403&view=rev
Log:
Only merge information back from Globals. This is
part of changes, to make the globalsGraph interactions
clean and consistent.

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=120403&r1=120402&r2=120403&view=diff
==============================================================================
--- poolalloc/trunk/lib/DSA/CompleteBottomUp.cpp (original)
+++ poolalloc/trunk/lib/DSA/CompleteBottomUp.cpp Tue Nov 30 01:01:33 2010
@@ -57,16 +57,8 @@
   buildIndirectFunctionSets();
   formGlobalECs();
 
-  //
-  // Propagate information from the local graphs to the globals graphs.
-  //
-  for (Module::iterator F = M.begin(); F != M.end(); ++F) {
-    if (!(F->isDeclaration())) {
-      if (DSGraph * Graph = getOrCreateGraph(F)) {
-        cloneIntoGlobals (Graph);
-      }
-    }
-  }
+
+
 
   for (Module::iterator F = M.begin(); F != M.end(); ++F) {
     if (!(F->isDeclaration())) {





More information about the llvm-commits mailing list