diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2006-06-01 22:01:25 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2006-06-01 22:01:25 +0000 |
commit | 5482ef37222e01d6b57104afc269cb9a7fccf53d (patch) | |
tree | 658ab674f2370fd51e2a6249dadf710dcf328f25 | |
parent | 29c312300ebfaa8987c744e3cc60dc8fdf6a6738 (diff) | |
download | external_llvm-5482ef37222e01d6b57104afc269cb9a7fccf53d.zip external_llvm-5482ef37222e01d6b57104afc269cb9a7fccf53d.tar.gz external_llvm-5482ef37222e01d6b57104afc269cb9a7fccf53d.tar.bz2 |
added some tests for argument passing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28644 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/ARM/ret_arg1.ll | 4 | ||||
-rw-r--r-- | test/CodeGen/ARM/ret_arg2.ll | 4 | ||||
-rw-r--r-- | test/CodeGen/ARM/ret_arg3.ll | 4 | ||||
-rw-r--r-- | test/CodeGen/ARM/ret_arg4.ll | 4 | ||||
-rw-r--r-- | test/CodeGen/ARM/ret_arg5.ll | 4 | ||||
-rw-r--r-- | test/CodeGen/ARM/ret_void.ll | 4 |
6 files changed, 24 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/ret_arg1.ll b/test/CodeGen/ARM/ret_arg1.ll new file mode 100644 index 0000000..db7c7a0 --- /dev/null +++ b/test/CodeGen/ARM/ret_arg1.ll @@ -0,0 +1,4 @@ +; RUN: llvm-as < %s | llc -march=arm +int %test(int %a1) { + ret int %a1 +} diff --git a/test/CodeGen/ARM/ret_arg2.ll b/test/CodeGen/ARM/ret_arg2.ll new file mode 100644 index 0000000..365bcd6 --- /dev/null +++ b/test/CodeGen/ARM/ret_arg2.ll @@ -0,0 +1,4 @@ +; RUN: llvm-as < %s | llc -march=arm +int %test(int %a1, int %a2) { + ret int %a2 +} diff --git a/test/CodeGen/ARM/ret_arg3.ll b/test/CodeGen/ARM/ret_arg3.ll new file mode 100644 index 0000000..c1fc092 --- /dev/null +++ b/test/CodeGen/ARM/ret_arg3.ll @@ -0,0 +1,4 @@ +; RUN: llvm-as < %s | llc -march=arm +int %test(int %a1, int %a2, int %a3) { + ret int %a3 +} diff --git a/test/CodeGen/ARM/ret_arg4.ll b/test/CodeGen/ARM/ret_arg4.ll new file mode 100644 index 0000000..cb7b197 --- /dev/null +++ b/test/CodeGen/ARM/ret_arg4.ll @@ -0,0 +1,4 @@ +; RUN: llvm-as < %s | llc -march=arm +int %test(int %a1, int %a2, int %a3, int %a4) { + ret int %a4 +} diff --git a/test/CodeGen/ARM/ret_arg5.ll b/test/CodeGen/ARM/ret_arg5.ll new file mode 100644 index 0000000..e434bca --- /dev/null +++ b/test/CodeGen/ARM/ret_arg5.ll @@ -0,0 +1,4 @@ +; RUN: llvm-as < %s | llc -march=arm +int %test(int %a1, int %a2, int %a3, int %a4, int %a5) { + ret int %a5 +} diff --git a/test/CodeGen/ARM/ret_void.ll b/test/CodeGen/ARM/ret_void.ll new file mode 100644 index 0000000..c1c1556 --- /dev/null +++ b/test/CodeGen/ARM/ret_void.ll @@ -0,0 +1,4 @@ +; RUN: llvm-as < %s | llc -march=arm +void %test() { + ret void +} |