OSDN Git Service

Make GlobalValue alignment consistent with load, store, and alloca
authorDan Gohman <gohman@apple.com>
Wed, 28 Jul 2010 20:56:48 +0000 (20:56 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 28 Jul 2010 20:56:48 +0000 (20:56 +0000)
commit6bbe671e1c58dd58fcf0165c1127dda5037ad3e2
tree0b758a76465b6fad8e13cce392747a1ac73556a5
parent4c010ec85185e2f1d671ac17a387b55228199d5b
Make GlobalValue alignment consistent with load, store, and alloca
alignment, fixing silent truncation of alignment values.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109653 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/GlobalValue.h
lib/VMCore/Globals.cpp
test/Assembler/align-inst.ll