diff options
Diffstat (limited to 'llvm/test/CodeGen/ARM/alloca.ll')
-rw-r--r-- | llvm/test/CodeGen/ARM/alloca.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/ARM/alloca.ll b/llvm/test/CodeGen/ARM/alloca.ll new file mode 100644 index 00000000000..6722026835a --- /dev/null +++ b/llvm/test/CodeGen/ARM/alloca.ll @@ -0,0 +1,9 @@ +; RUN: llvm-upgrade < %s | llvm-as | 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) |