mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-24 09:29:42 +00:00
Pretty-print basic block alignment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145965 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
93e9d3abe5
commit
f2e944523c
@ -203,8 +203,6 @@ void MachineBasicBlock::print(raw_ostream &OS, SlotIndexes *Indexes) const {
|
||||
return;
|
||||
}
|
||||
|
||||
if (Alignment) { OS << "Alignment " << Alignment << "\n"; }
|
||||
|
||||
if (Indexes)
|
||||
OS << Indexes->getMBBStartIdx(this) << '\t';
|
||||
|
||||
@ -218,6 +216,12 @@ void MachineBasicBlock::print(raw_ostream &OS, SlotIndexes *Indexes) const {
|
||||
}
|
||||
if (isLandingPad()) { OS << Comma << "EH LANDING PAD"; Comma = ", "; }
|
||||
if (hasAddressTaken()) { OS << Comma << "ADDRESS TAKEN"; Comma = ", "; }
|
||||
if (Alignment) {
|
||||
OS << Comma << "Align " << Alignment << " (" << (1u << Alignment)
|
||||
<< " bytes)";
|
||||
Comma = ", ";
|
||||
}
|
||||
|
||||
OS << '\n';
|
||||
|
||||
const TargetRegisterInfo *TRI = MF->getTarget().getRegisterInfo();
|
||||
|
Loading…
Reference in New Issue
Block a user