add support for calling functions when the caller has variable sized objects
[oota-llvm.git] / test / CodeGen / ARM / alloca.ll
1 ; RUN: llvm-as < %s | llc -march=arm
2 void %f(uint %a) {
3 entry:
4         %tmp = alloca sbyte, uint %a
5         call void %g( sbyte* %tmp, uint %a, uint 1, uint 2, uint 3 )
6         ret void
7 }
8
9 declare void %g(sbyte*, uint, uint, uint, uint)