summaryrefslogtreecommitdiff
path: root/lib/VMCore/AsmWriter.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-21 18:36:27 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-21 18:36:27 +0000
commitc67bdc288aac130d88630f7fa95ceca6bcf95077 (patch)
tree3fae3a889e0520a5670196b40f6a2f9eb5b1adfb /lib/VMCore/AsmWriter.cpp
parentb3b0727032e58c8b8f3017c2b3f560616c6905af (diff)
downloadllvm-c67bdc288aac130d88630f7fa95ceca6bcf95077.tar.gz
llvm-c67bdc288aac130d88630f7fa95ceca6bcf95077.tar.bz2
llvm-c67bdc288aac130d88630f7fa95ceca6bcf95077.tar.xz
Revert Christopher Lamb's load/store alignment changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36309 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/AsmWriter.cpp')
-rw-r--r--lib/VMCore/AsmWriter.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp
index 8895eacb90..da3b1d7769 100644
--- a/lib/VMCore/AsmWriter.cpp
+++ b/lib/VMCore/AsmWriter.cpp
@@ -1307,13 +1307,6 @@ void AssemblyWriter::printInstruction(const Instruction &I) {
writeOperand(I.getOperand(i), PrintAllTypes);
}
}
-
- // Print post operand alignment for load/store
- if (isa<LoadInst>(I) && cast<LoadInst>(I).getAlignment()) {
- Out << ", align " << cast<LoadInst>(I).getAlignment();
- } else if (isa<StoreInst>(I) && cast<StoreInst>(I).getAlignment()) {
- Out << ", align " << cast<StoreInst>(I).getAlignment();
- }
printInfoComment(I);
Out << "\n";