mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Output a bit more information in the debug printing for MBP. This was
useful when analyzing parts of zlib's behavior here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195588 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2fee935bba
commit
b63fdecbac
@ -367,7 +367,8 @@ MachineBasicBlock *MachineBlockPlacement::selectBestSuccessor(
|
||||
// any CFG constraints.
|
||||
if (SuccChain.LoopPredecessors != 0) {
|
||||
if (SuccProb < HotProb) {
|
||||
DEBUG(dbgs() << " " << getBlockName(*SI) << " -> CFG conflict\n");
|
||||
DEBUG(dbgs() << " " << getBlockName(*SI) << " -> " << SuccProb
|
||||
<< " (prob) (CFG conflict)\n");
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -390,8 +391,8 @@ MachineBasicBlock *MachineBlockPlacement::selectBestSuccessor(
|
||||
}
|
||||
}
|
||||
if (BadCFGConflict) {
|
||||
DEBUG(dbgs() << " " << getBlockName(*SI)
|
||||
<< " -> non-cold CFG conflict\n");
|
||||
DEBUG(dbgs() << " " << getBlockName(*SI) << " -> " << SuccProb
|
||||
<< " (prob) (non-cold CFG conflict)\n");
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user