llvm.org GIT mirror llvm / d31a672
alignment of 0 is not valid. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61682 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 10 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
66 define i19 *@test() align 32 {
77 %X = alloca i19, align 4
88 %Y = alloca i51, i32 42, align 16
9 %Z = alloca i32, align 0
9 %Z = alloca i32, align 1
1010 ret i19 *%X
1111 }
1212
1313 define i19 *@test2() {
1414 %X = malloc i19, align 4
1515 %Y = malloc i51, i32 42, align 16
16 %Z = malloc i32, align 0
16 %Z = malloc i32, align 1
1717 ret i19 *%X
1818 }
1919