diff options
author | Dan Gohman <gohman@apple.com> | 2008-05-27 20:47:30 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-05-27 20:47:30 +0000 |
commit | 3ec5520286d69c52e5020dd66e958b03175c888f (patch) | |
tree | bbfbae543efa9d3971bd0c1478953fdefe6cce8c /llvm/lib/Analysis/SparsePropagation.cpp | |
parent | 8b16aeb879b5e3b2449285a7eb2891e6a946baea (diff) | |
download | bcm5719-llvm-3ec5520286d69c52e5020dd66e958b03175c888f.tar.gz bcm5719-llvm-3ec5520286d69c52e5020dd66e958b03175c888f.zip |
Print debug output when any edge becomes executable, including
the first visited edge.
llvm-svn: 51612
Diffstat (limited to 'llvm/lib/Analysis/SparsePropagation.cpp')
-rw-r--r-- | llvm/lib/Analysis/SparsePropagation.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/SparsePropagation.cpp b/llvm/lib/Analysis/SparsePropagation.cpp index e2c739d5418..59a63d40854 100644 --- a/llvm/lib/Analysis/SparsePropagation.cpp +++ b/llvm/lib/Analysis/SparsePropagation.cpp @@ -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. |