diff options
author | Chris Lattner <sabre@nondot.org> | 2005-11-06 06:52:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-11-06 06:52:11 +0000 |
commit | abdf0f5327010c880612ff5d74a298a330ccf8fd (patch) | |
tree | 0d5fcf12aab344a40ed71fdc96ece2444782fb08 /test | |
parent | 30caa2876cd500b49e27b6810ab5dec96398c6fa (diff) | |
download | external_llvm-abdf0f5327010c880612ff5d74a298a330ccf8fd.zip external_llvm-abdf0f5327010c880612ff5d74a298a330ccf8fd.tar.gz external_llvm-abdf0f5327010c880612ff5d74a298a330ccf8fd.tar.bz2 |
add alignment info for globals and functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24213 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Feature/alignment.ll | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Feature/alignment.ll b/test/Feature/alignment.ll index 0a63675..6ea7d8d 100644 --- a/test/Feature/alignment.ll +++ b/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 |