aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-11-05 21:20:34 +0000
committerChris Lattner <sabre@nondot.org>2005-11-05 21:20:34 +0000
commit9fad0b9974beb76bef763b8fed71d0c8644403d4 (patch)
tree45a1c5ce06ae23cba27fd921b612caa8f64a6238 /lib/VMCore
parent14b0529532904b9e5a1e34526b4a3209f3e5bc62 (diff)
downloadexternal_llvm-9fad0b9974beb76bef763b8fed71d0c8644403d4.zip
external_llvm-9fad0b9974beb76bef763b8fed71d0c8644403d4.tar.gz
external_llvm-9fad0b9974beb76bef763b8fed71d0c8644403d4.tar.bz2
fix printing the alignment directive
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24197 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r--lib/VMCore/AsmWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp
index 45be28d..349e1bd 100644
--- a/lib/VMCore/AsmWriter.cpp
+++ b/lib/VMCore/AsmWriter.cpp
@@ -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