diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2006-10-31 13:03:26 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2006-10-31 13:03:26 +0000 |
commit | b191e0ab51174cfb86502308f520f139daa9e4a0 (patch) | |
tree | 2581f3191fa35e423dd7aa7909326ff94b8e3ba7 /test/CodeGen/ARM/alloca.ll | |
parent | ab4022f196059745c0ca0780b71a80fa67e896be (diff) | |
download | llvm-b191e0ab51174cfb86502308f520f139daa9e4a0.tar.gz |
add support for calling functions when the caller has variable sized objects
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31312 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/alloca.ll')
-rw-r--r-- | test/CodeGen/ARM/alloca.ll | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/CodeGen/ARM/alloca.ll b/test/CodeGen/ARM/alloca.ll index d5510d3e51f3..b77f234e1087 100644 --- a/test/CodeGen/ARM/alloca.ll +++ b/test/CodeGen/ARM/alloca.ll @@ -1,6 +1,9 @@ ; RUN: llvm-as < %s | llc -march=arm void %f(uint %a) { entry: - %tmp1032 = alloca ubyte, uint %a + %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) |