Fix the asmprinter so that a globalvalue can specify an explicit alignment
authorChris Lattner <sabre@nondot.org>
Thu, 31 May 2007 18:57:45 +0000 (18:57 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 31 May 2007 18:57:45 +0000 (18:57 +0000)
commit3a4205367dc845d4cd804b47e061f8281777c9da
tree3c7493d7370bf2d3777ce68c247be3bca2b48cbd
parent4f3485c0da50e9722c8414f95e2f04d0f51757f0
Fix the asmprinter so that a globalvalue can specify an explicit alignment
smaller than the preferred alignment, but so that the target can actually
specify a minimum alignment if needed.  This fixes some objc protocol
failures Devang tracked down.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37373 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/AsmPrinter.h
lib/CodeGen/AsmPrinter.cpp
lib/Target/ARM/ARMAsmPrinter.cpp