From 6bbe671e1c58dd58fcf0165c1127dda5037ad3e2 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 28 Jul 2010 20:56:48 +0000 Subject: 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 --- test/Assembler/align-inst.ll | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/Assembler') 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 -- cgit v1.1