mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 07:09:08 +00:00
add alignment info for globals and functions
llvm-svn: 24213
This commit is contained in:
parent
6991a6f23f
commit
e859d486df
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user