llvm-6502/test/Assembler/align-inst.ll
Dan Gohman 6bbe671e1c 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
2010-07-28 20:56:48 +00:00

11 lines
208 B
LLVM

; 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
store i1 false, i1* %p, align 536870912
ret void
}