Print debug output when any edge becomes executable, including
authorDan Gohman <gohman@apple.com>
Tue, 27 May 2008 20:47:30 +0000 (20:47 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 27 May 2008 20:47:30 +0000 (20:47 +0000)
the first visited edge.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51612 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/SparsePropagation.cpp

index e2c739d54185ea97687c3e62c4cd6980bb5ebd8b..59a63d40854696da01ecf50e83468ef054f697b8 100644 (file)
@@ -96,10 +96,10 @@ void SparseSolver::markEdgeExecutable(BasicBlock *Source, BasicBlock *Dest) {
   if (!KnownFeasibleEdges.insert(Edge(Source, Dest)).second)
     return;  // This edge is already known to be executable!
   
+  DOUT << "Marking Edge Executable: " << Source->getNameStart()
+       << " -> " << Dest->getNameStart() << "\n";
+
   if (BBExecutable.count(Dest)) {
-    DOUT << "Marking Edge Executable: " << Source->getNameStart()
-    << " -> " << Dest->getNameStart() << "\n";
-    
     // The destination is already executable, but we just made an edge
     // feasible that wasn't before.  Revisit the PHI nodes in the block
     // because they have potentially new operands.