forked from OSchip/llvm-project
[CodeGen] Print irreducible loop header weight as a MIR comment
Prefix it with '; ' to make it more MIR-compatible. llvm-svn: 325251
This commit is contained in:
parent
23c0cce597
commit
1e002a2b1b
|
@ -416,9 +416,8 @@ void MachineBasicBlock::print(raw_ostream &OS, ModuleSlotTracker &MST,
|
|||
|
||||
if (IrrLoopHeaderWeight) {
|
||||
if (Indexes) OS << '\t';
|
||||
OS << " Irreducible loop header weight: "
|
||||
<< IrrLoopHeaderWeight.getValue();
|
||||
OS << '\n';
|
||||
OS.indent(2) << "; Irreducible loop header weight: "
|
||||
<< IrrLoopHeaderWeight.getValue() << '\n';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue