OSDN Git Service

fix printing the alignment directive
authorChris Lattner <sabre@nondot.org>
Sat, 5 Nov 2005 21:20:34 +0000 (21:20 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 5 Nov 2005 21:20:34 +0000 (21:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24197 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/AsmWriter.cpp

index 45be28d..349e1bd 100644 (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