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 | 1f595bb42950088ccb8246e6b065a96027b46ec6 (patch) | |
tree | 4f697a8bf24d7aca7c17a6042b6c9307ce43c36d /test/CodeGen/ARM/arguments6.ll | |
parent | 5bea822a0c21d46b2ee539a38474735b2617365d (diff) | |
download | llvm-1f595bb42950088ccb8246e6b065a96027b46ec6.tar.gz llvm-1f595bb42950088ccb8246e6b065a96027b46ec6.tar.bz2 llvm-1f595bb42950088ccb8246e6b065a96027b46ec6.tar.xz |
Use CallConvLower.h and TableGen descriptions of the calling conventions
for ARM. Patch by Sandeep Patel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69371 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/arguments6.ll')
-rw-r--r-- | test/CodeGen/ARM/arguments6.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/arguments6.ll b/test/CodeGen/ARM/arguments6.ll new file mode 100644 index 0000000000..a18c621d14 --- /dev/null +++ b/test/CodeGen/ARM/arguments6.ll @@ -0,0 +1,9 @@ +; RUN: llvm-as < %s | llc -mtriple=arm-linux-gnueabi +; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin + +define i128 @f(i32 %a, i128 %b) { + %tmp = call i128 @g(i128 %b) + ret i128 %tmp +} + +declare i128 @g(i128) |