Add a quick and dirty "loop aligner pass". x86 uses it to align its loops to 16-byte boundaries.

llvm-svn: 47703
This commit is contained in:
Evan Cheng
2008-02-28 00:43:03 +00:00
parent 93e8b679a3
commit c799065cc3
25 changed files with 173 additions and 50 deletions

View File

@@ -166,6 +166,7 @@ void MachineBasicBlock::print(std::ostream &OS) const {
if (LBB) OS << LBB->getName() << ": ";
OS << (const void*)this
<< ", LLVM BB @" << (const void*) LBB << ", ID#" << getNumber();
if (Alignment) OS << ", Alignment " << Alignment;
if (isLandingPad()) OS << ", EH LANDING PAD";
OS << ":\n";