Rework global alignment computation again. Now we do round up
authorChris Lattner <sabre@nondot.org>
Wed, 28 Apr 2010 19:58:07 +0000 (19:58 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 28 Apr 2010 19:58:07 +0000 (19:58 +0000)
commite87f7bb50e1d08a09e29252806f6502dcff0539d
treeda2eb282d465a5721e0614235d55f0a5170709e5
parent54fc4d6a48b32772b1a114a43e20de521257899b
Rework global alignment computation again.  Now we do round up
alignment of globals to the preferred alignment, but only when
there is no section specified on the global (by far the common
case).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102515 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/AsmPrinter.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
test/CodeGen/X86/alignment.ll
test/CodeGen/X86/unaligned-load.ll
test/FrontendC/cstring-align.c