summaryrefslogtreecommitdiff
path: root/lib/Analysis/SparsePropagation.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-05-27 20:47:30 +0000
committerDan Gohman <gohman@apple.com>2008-05-27 20:47:30 +0000
commitb22d6ac348ca632bef17dc8050b14d8cb78218f3 (patch)
tree92b1dec70d45b5ecedb20e9d7d909915b8846761 /lib/Analysis/SparsePropagation.cpp
parent3b75d20c1abd32687fd1d8c4eebcff77160e1b22 (diff)
downloadllvm-b22d6ac348ca632bef17dc8050b14d8cb78218f3.tar.gz
llvm-b22d6ac348ca632bef17dc8050b14d8cb78218f3.tar.bz2
llvm-b22d6ac348ca632bef17dc8050b14d8cb78218f3.tar.xz
Print debug output when any edge becomes executable, including
the first visited edge. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51612 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/SparsePropagation.cpp')
-rw-r--r--lib/Analysis/SparsePropagation.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Analysis/SparsePropagation.cpp b/lib/Analysis/SparsePropagation.cpp
index e2c739d541..59a63d4085 100644
--- a/lib/Analysis/SparsePropagation.cpp
+++ b/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.