[llvm-commits] [llvm] r111575 - /llvm/trunk/lib/CodeGen/MachineSink.cpp
Evan Cheng
evan.cheng at apple.com
Thu Aug 19 16:33:02 PDT 2010
Author: evancheng
Date: Thu Aug 19 18:33:02 2010
New Revision: 111575
URL: http://llvm.org/viewvc/llvm-project?rev=111575&view=rev
Log:
Update debug logs.
Modified:
llvm/trunk/lib/CodeGen/MachineSink.cpp
Modified: llvm/trunk/lib/CodeGen/MachineSink.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineSink.cpp?rev=111575&r1=111574&r2=111575&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineSink.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineSink.cpp Thu Aug 19 18:33:02 2010
@@ -391,20 +391,20 @@
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 @@
" *** 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');
More information about the llvm-commits
mailing list