1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

alignment of 0 is not valid.

llvm-svn: 61682
This commit is contained in:
Chris Lattner 2009-01-05 08:14:35 +00:00
parent 6bbcc64cc0
commit 29c7f160c4

View File

@ -7,14 +7,14 @@
define i19 *@test() align 32 {
%X = alloca i19, align 4
%Y = alloca i51, i32 42, align 16
%Z = alloca i32, align 0
%Z = alloca i32, align 1
ret i19 *%X
}
define i19 *@test2() {
%X = malloc i19, align 4
%Y = malloc i51, i32 42, align 16
%Z = malloc i32, align 0
%Z = malloc i32, align 1
ret i19 *%X
}