forked from OSchip/llvm-project
[MBP] Remove overly verbose debug output
llvm-svn: 262531
This commit is contained in:
parent
3b8b2ea2e1
commit
02e1132afb
|
@ -403,8 +403,6 @@ MachineBlockPlacement::selectBestSuccessor(MachineBasicBlock *BB,
|
||||||
} else {
|
} else {
|
||||||
BlockChain *SuccChain = BlockToChain[Succ];
|
BlockChain *SuccChain = BlockToChain[Succ];
|
||||||
if (SuccChain == &Chain) {
|
if (SuccChain == &Chain) {
|
||||||
DEBUG(dbgs() << " " << getBlockName(Succ)
|
|
||||||
<< " -> Already merged!\n");
|
|
||||||
SkipSucc = true;
|
SkipSucc = true;
|
||||||
} else if (Succ != *SuccChain->begin()) {
|
} else if (Succ != *SuccChain->begin()) {
|
||||||
DEBUG(dbgs() << " " << getBlockName(Succ) << " -> Mid chain!\n");
|
DEBUG(dbgs() << " " << getBlockName(Succ) << " -> Mid chain!\n");
|
||||||
|
@ -524,10 +522,9 @@ MachineBasicBlock *MachineBlockPlacement::selectBestCandidateBlock(
|
||||||
BlockFrequency BestFreq;
|
BlockFrequency BestFreq;
|
||||||
for (MachineBasicBlock *MBB : WorkList) {
|
for (MachineBasicBlock *MBB : WorkList) {
|
||||||
BlockChain &SuccChain = *BlockToChain[MBB];
|
BlockChain &SuccChain = *BlockToChain[MBB];
|
||||||
if (&SuccChain == &Chain) {
|
if (&SuccChain == &Chain)
|
||||||
DEBUG(dbgs() << " " << getBlockName(MBB) << " -> Already merged!\n");
|
|
||||||
continue;
|
continue;
|
||||||
}
|
|
||||||
assert(SuccChain.LoopPredecessors == 0 && "Found CFG-violating block");
|
assert(SuccChain.LoopPredecessors == 0 && "Found CFG-violating block");
|
||||||
|
|
||||||
BlockFrequency CandidateFreq = MBFI->getBlockFreq(MBB);
|
BlockFrequency CandidateFreq = MBFI->getBlockFreq(MBB);
|
||||||
|
|
Loading…
Reference in New Issue