Print the MBB ID # along with the bb tag in the -print-machine-instrs output.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30708 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-10-03 20:17:24 +00:00
parent 20a6d8e630
commit ee773ba72b

View File

@ -96,7 +96,7 @@ void MachineBasicBlock::print(std::ostream &OS) const {
const BasicBlock *LBB = getBasicBlock();
if (LBB)
OS << "\n" << LBB->getName() << " (" << (const void*)this
<< ", LLVM BB @" << (const void*) LBB << "):\n";
<< ", LLVM BB @" << (const void*) LBB << ", ID#" << getNumber()<< "):\n";
// Print the preds of this block according to the CFG.
if (!pred_empty()) {
OS << " Predecessors according to CFG:";