summaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineSink.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-08-19 23:33:02 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-08-19 23:33:02 +0000
commitf942c13af8187415e59e82e0bc92420c6fd59009 (patch)
treee342276f1ca94f5c65b50ed8c92d3df3cecea2ef /lib/CodeGen/MachineSink.cpp
parent19708923bed9eccd534243bc76c40b9553365b59 (diff)
downloadllvm-f942c13af8187415e59e82e0bc92420c6fd59009.tar.gz
llvm-f942c13af8187415e59e82e0bc92420c6fd59009.tar.bz2
llvm-f942c13af8187415e59e82e0bc92420c6fd59009.tar.xz
Update debug logs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111575 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineSink.cpp')
-rw-r--r--lib/CodeGen/MachineSink.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/MachineSink.cpp b/lib/CodeGen/MachineSink.cpp
index 2f8e9ffdf9..c8f8fafe22 100644
--- a/lib/CodeGen/MachineSink.cpp
+++ b/lib/CodeGen/MachineSink.cpp
@@ -391,20 +391,20 @@ bool MachineSinking::SinkInstruction(MachineInstr *MI, bool &SawStore) {
bool TryBreak = false;
bool store = true;
if (!MI->isSafeToMove(TII, AA, store)) {
- DEBUG(dbgs() << " *** PUNTING: Won't sink load along critical edge.\n");
+ DEBUG(dbgs() << " *** NOTE: Won't sink load along critical edge.\n");
TryBreak = true;
}
// We don't want to sink across a critical edge if we don't dominate the
// successor. We could be introducing calculations to new code paths.
if (!TryBreak && !DT->dominates(ParentBlock, SuccToSinkTo)) {
- DEBUG(dbgs() << " *** PUNTING: Critical edge found\n");
+ DEBUG(dbgs() << " *** NOTE: Critical edge found\n");
TryBreak = true;
}
// Don't sink instructions into a loop.
if (!TryBreak && LI->isLoopHeader(SuccToSinkTo)) {
- DEBUG(dbgs() << " *** PUNTING: Loop header found\n");
+ DEBUG(dbgs() << " *** NOTE: Loop header found\n");
TryBreak = true;
}
@@ -418,7 +418,7 @@ bool MachineSinking::SinkInstruction(MachineInstr *MI, bool &SawStore) {
" *** PUNTING: Not legal or profitable to break critical edge\n");
return false;
} else {
- DEBUG(dbgs() << "*** Splitting critical edge:"
+ DEBUG(dbgs() << " *** Splitting critical edge:"
" BB#" << ParentBlock->getNumber()
<< " -- BB#" << NewSucc->getNumber()
<< " -- BB#" << SuccToSinkTo->getNumber() << '\n');