From cc99ec2a14ba53011556ad52664a74c0061bb392 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 6 Nov 2005 06:52:11 +0000 Subject: [PATCH] add alignment info for globals and functions llvm-svn: 24213 --- llvm/test/Feature/alignment.ll | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/llvm/test/Feature/alignment.ll b/llvm/test/Feature/alignment.ll index 0a63675bd0d2..6ea7d8d7ff46 100644 --- a/llvm/test/Feature/alignment.ll +++ b/llvm/test/Feature/alignment.ll @@ -2,7 +2,9 @@ ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll ; RUN: diff %t1.ll %t2.ll -int *%test() { +%X = global int 4, align 16 + +int *%test() align 32 { %X = alloca int, align 4 %Y = alloca int, uint 42, align 16 %Z = alloca int, align 0