Don't assume that external global variables are aligned at their preferred
authorDan Gohman <gohman@apple.com>
Tue, 11 Aug 2009 15:50:03 +0000 (15:50 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 11 Aug 2009 15:50:03 +0000 (15:50 +0000)
commit004072508bfc66159ca09be26f06b8b05c1bac4e
treefa7a003842c5685d0acd73a3aa39744052edecc6
parent00b0a243bdf2d9675bafbdb44ac3b2df768878b3
Don't assume that external global variables are aligned at their preferred
alignment. Only the minimum alignment guaranteed by the ABI may be assumed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78668 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ValueTracking.cpp
test/Transforms/InstCombine/align-external.ll [new file with mode: 0644]