summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-11-06 06:52:11 +0000
committerChris Lattner <sabre@nondot.org>2005-11-06 06:52:11 +0000
commitcc99ec2a14ba53011556ad52664a74c0061bb392 (patch)
tree4c4b91fa9d368a8b0c24f63dec5c9dd5495c7d63
parentf8a974d1699cf4da28b50a2d7d241bedf8c3abd9 (diff)
downloadbcm5719-llvm-cc99ec2a14ba53011556ad52664a74c0061bb392.tar.gz
bcm5719-llvm-cc99ec2a14ba53011556ad52664a74c0061bb392.zip
add alignment info for globals and functions
llvm-svn: 24213
-rw-r--r--llvm/test/Feature/alignment.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/Feature/alignment.ll b/llvm/test/Feature/alignment.ll
index 0a63675bd0d..6ea7d8d7ff4 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
OpenPOWER on IntegriCloud