fix printing the alignment directive

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24197 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-11-05 21:20:34 +00:00
parent 14b0529532
commit 9fad0b9974

View File

@ -1173,7 +1173,7 @@ void AssemblyWriter::printInstruction(const Instruction &I) {
writeOperand(AI->getArraySize(), true);
}
if (AI->getAlignment()) {
Out << ", " << AI->getAlignment();
Out << ", align " << AI->getAlignment();
}
} else if (isa<CastInst>(I)) {
if (Operand) writeOperand(Operand, true); // Work with broken code