diff options
author | Bob Wilson <bob.wilson@apple.com> | 2009-04-17 19:07:39 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2009-04-17 19:07:39 +0000 |
commit | a4c2290e5f80079f2c0c336d4f008686c7f74c8c (patch) | |
tree | ecb37c31b7bb70831714037fc4569dd09a4e7976 /llvm/test/CodeGen/ARM/arguments4.ll | |
parent | af9767195458dca97360d1056d6ab7aec6d5ad74 (diff) | |
download | bcm5719-llvm-a4c2290e5f80079f2c0c336d4f008686c7f74c8c.tar.gz bcm5719-llvm-a4c2290e5f80079f2c0c336d4f008686c7f74c8c.zip |
Use CallConvLower.h and TableGen descriptions of the calling conventions
for ARM. Patch by Sandeep Patel.
llvm-svn: 69371
Diffstat (limited to 'llvm/test/CodeGen/ARM/arguments4.ll')
-rw-r--r-- | llvm/test/CodeGen/ARM/arguments4.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/ARM/arguments4.ll b/llvm/test/CodeGen/ARM/arguments4.ll new file mode 100644 index 00000000000..63ba64b27f1 --- /dev/null +++ b/llvm/test/CodeGen/ARM/arguments4.ll @@ -0,0 +1,9 @@ +; RUN: llvm-as < %s | llc -mtriple=arm-linux-gnueabi +; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin + +define float @f(i32 %a, i128 %b) { + %tmp = call float @g(i128 %b) + ret float %tmp +} + +declare float @g(i128) |