llvm-6502/test/CodeGen/ARM/alloca.ll
2006-10-31 13:03:26 +00:00

10 lines
216 B
LLVM

; RUN: llvm-as < %s | llc -march=arm
void %f(uint %a) {
entry:
%tmp = alloca sbyte, uint %a
call void %g( sbyte* %tmp, uint %a, uint 1, uint 2, uint 3 )
ret void
}
declare void %g(sbyte*, uint, uint, uint, uint)