1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/Assembler/align-inst.ll
Dan Gohman 343e4fb4ea Make GlobalValue alignment consistent with load, store, and alloca
alignment, fixing silent truncation of alignment values.

llvm-svn: 109653
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
}