[llvm-commits] [llvm] r51612 - /llvm/trunk/lib/Analysis/SparsePropagation.cpp
Dan Gohman
gohman at apple.com
Tue May 27 13:47:30 PDT 2008
Author: djg
Date: Tue May 27 15:47:30 2008
New Revision: 51612
URL: http://llvm.org/viewvc/llvm-project?rev=51612&view=rev
Log:
Print debug output when any edge becomes executable, including
the first visited edge.
Modified:
llvm/trunk/lib/Analysis/SparsePropagation.cpp
Modified: llvm/trunk/lib/Analysis/SparsePropagation.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/SparsePropagation.cpp?rev=51612&r1=51611&r2=51612&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/SparsePropagation.cpp (original)
+++ llvm/trunk/lib/Analysis/SparsePropagation.cpp Tue May 27 15:47:30 2008
@@ -96,10 +96,10 @@
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.
More information about the llvm-commits
mailing list