fix PR6921 a different way. Intead of increasing the
authorChris Lattner <sabre@nondot.org>
Mon, 26 Apr 2010 18:46:46 +0000 (18:46 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 26 Apr 2010 18:46:46 +0000 (18:46 +0000)
commit567dd1f5d0ae454e7c51ef070bbb8d31a43ed4bc
treea7bb33c12a3a053d69cee16c78634de8b83af19f
parent6fa7636e614cbf0a19d374e169791a774281e8d3
fix PR6921 a different way.  Intead of increasing the
alignment of globals with a specified alignment, we fix
common variables to obey their alignment.  Add a comment
explaining why this behavior is important.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102365 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