diff options
author | Dan Gohman <gohman@apple.com> | 2010-07-28 20:56:48 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-07-28 20:56:48 +0000 |
commit | 6bbe671e1c58dd58fcf0165c1127dda5037ad3e2 (patch) | |
tree | 0b758a76465b6fad8e13cce392747a1ac73556a5 /test/Assembler | |
parent | 4c010ec85185e2f1d671ac17a387b55228199d5b (diff) | |
download | external_llvm-6bbe671e1c58dd58fcf0165c1127dda5037ad3e2.zip external_llvm-6bbe671e1c58dd58fcf0165c1127dda5037ad3e2.tar.gz external_llvm-6bbe671e1c58dd58fcf0165c1127dda5037ad3e2.tar.bz2 |
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
Diffstat (limited to 'test/Assembler')
-rw-r--r-- | test/Assembler/align-inst.ll | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Assembler/align-inst.ll b/test/Assembler/align-inst.ll index 7bf0b64..6f7100e 100644 --- a/test/Assembler/align-inst.ll +++ b/test/Assembler/align-inst.ll @@ -1,5 +1,7 @@ ; RUN: llvm-as %s -o /dev/null +@A = global i1 0, align 536870912 + define void @foo() { %p = alloca i1, align 536870912 load i1* %p, align 536870912 |