Fix a regression caused by r102515 where explicit alignment on globals is
authorCameron Zwarich <zwarich@apple.com>
Wed, 13 Apr 2011 20:36:04 +0000 (20:36 +0000)
committerCameron Zwarich <zwarich@apple.com>
Wed, 13 Apr 2011 20:36:04 +0000 (20:36 +0000)
commit1335022e1983d81bd680a082046544af22496054
tree65ceeebaa0479357e8040d0e87f013bd8460288d
parentbe7cd7580dc704e3058b874d7573305bd7def9ea
Fix a regression caused by r102515 where explicit alignment on globals is
ignored. There was a test to catch this, but it was just blindly updated in
a large change. This fixes another part of <rdar://problem/9275290>.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129466 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/TargetData.cpp
test/CodeGen/X86/alignment.ll
test/CodeGen/X86/unaligned-load.ll