mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-12 17:25:49 +00:00
Update debug logs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111575 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -391,20 +391,20 @@ bool MachineSinking::SinkInstruction(MachineInstr *MI, bool &SawStore) {
|
|||||||
bool TryBreak = false;
|
bool TryBreak = false;
|
||||||
bool store = true;
|
bool store = true;
|
||||||
if (!MI->isSafeToMove(TII, AA, store)) {
|
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;
|
TryBreak = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// We don't want to sink across a critical edge if we don't dominate the
|
// 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.
|
// successor. We could be introducing calculations to new code paths.
|
||||||
if (!TryBreak && !DT->dominates(ParentBlock, SuccToSinkTo)) {
|
if (!TryBreak && !DT->dominates(ParentBlock, SuccToSinkTo)) {
|
||||||
DEBUG(dbgs() << " *** PUNTING: Critical edge found\n");
|
DEBUG(dbgs() << " *** NOTE: Critical edge found\n");
|
||||||
TryBreak = true;
|
TryBreak = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Don't sink instructions into a loop.
|
// Don't sink instructions into a loop.
|
||||||
if (!TryBreak && LI->isLoopHeader(SuccToSinkTo)) {
|
if (!TryBreak && LI->isLoopHeader(SuccToSinkTo)) {
|
||||||
DEBUG(dbgs() << " *** PUNTING: Loop header found\n");
|
DEBUG(dbgs() << " *** NOTE: Loop header found\n");
|
||||||
TryBreak = true;
|
TryBreak = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -418,7 +418,7 @@ bool MachineSinking::SinkInstruction(MachineInstr *MI, bool &SawStore) {
|
|||||||
" *** PUNTING: Not legal or profitable to break critical edge\n");
|
" *** PUNTING: Not legal or profitable to break critical edge\n");
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
DEBUG(dbgs() << "*** Splitting critical edge:"
|
DEBUG(dbgs() << " *** Splitting critical edge:"
|
||||||
" BB#" << ParentBlock->getNumber()
|
" BB#" << ParentBlock->getNumber()
|
||||||
<< " -- BB#" << NewSucc->getNumber()
|
<< " -- BB#" << NewSucc->getNumber()
|
||||||
<< " -- BB#" << SuccToSinkTo->getNumber() << '\n');
|
<< " -- BB#" << SuccToSinkTo->getNumber() << '\n');
|
||||||
|
Reference in New Issue
Block a user