Fix PR6921: globals were not getting correctly rounded up to their
authorChris Lattner <sabre@nondot.org>
Sun, 25 Apr 2010 05:30:43 +0000 (05:30 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 25 Apr 2010 05:30:43 +0000 (05:30 +0000)
commit044698b39a5360f6132cdbecf484f78ae76cb6e1
tree3c3209dc9e867f234fa2d2a5d5ee8dd31ee423bd
parent73382423f2b1f4735941dcffff2f31d0c25876b4
Fix PR6921: globals were not getting correctly rounded up to their
preferred alignment unless they were common or some other special
case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102300 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
test/CodeGen/X86/alignment.ll [new file with mode: 0644]
test/CodeGen/X86/unaligned-load.ll