[llvm-commits] CVS: llvm/test/Regression/CodeGen/ARM/ret_arg1.ll ret_arg2.ll ret_arg3.ll ret_arg4.ll ret_arg5.ll ret_void.ll
Rafael Espindola
rafael.espindola at gmail.com
Thu Jun 1 15:01:37 PDT 2006
Changes in directory llvm/test/Regression/CodeGen/ARM:
ret_arg1.ll added (r1.1)
ret_arg2.ll added (r1.1)
ret_arg3.ll added (r1.1)
ret_arg4.ll added (r1.1)
ret_arg5.ll added (r1.1)
ret_void.ll added (r1.1)
---
Log message:
added some tests for argument passing
---
Diffs of the changes: (+24 -0)
ret_arg1.ll | 4 ++++
ret_arg2.ll | 4 ++++
ret_arg3.ll | 4 ++++
ret_arg4.ll | 4 ++++
ret_arg5.ll | 4 ++++
ret_void.ll | 4 ++++
6 files changed, 24 insertions(+)
Index: llvm/test/Regression/CodeGen/ARM/ret_arg1.ll
diff -c /dev/null llvm/test/Regression/CodeGen/ARM/ret_arg1.ll:1.1
*** /dev/null Thu Jun 1 17:01:35 2006
--- llvm/test/Regression/CodeGen/ARM/ret_arg1.ll Thu Jun 1 17:01:25 2006
***************
*** 0 ****
--- 1,4 ----
+ ; RUN: llvm-as < %s | llc -march=arm
+ int %test(int %a1) {
+ ret int %a1
+ }
Index: llvm/test/Regression/CodeGen/ARM/ret_arg2.ll
diff -c /dev/null llvm/test/Regression/CodeGen/ARM/ret_arg2.ll:1.1
*** /dev/null Thu Jun 1 17:01:37 2006
--- llvm/test/Regression/CodeGen/ARM/ret_arg2.ll Thu Jun 1 17:01:25 2006
***************
*** 0 ****
--- 1,4 ----
+ ; RUN: llvm-as < %s | llc -march=arm
+ int %test(int %a1, int %a2) {
+ ret int %a2
+ }
Index: llvm/test/Regression/CodeGen/ARM/ret_arg3.ll
diff -c /dev/null llvm/test/Regression/CodeGen/ARM/ret_arg3.ll:1.1
*** /dev/null Thu Jun 1 17:01:37 2006
--- llvm/test/Regression/CodeGen/ARM/ret_arg3.ll Thu Jun 1 17:01:25 2006
***************
*** 0 ****
--- 1,4 ----
+ ; RUN: llvm-as < %s | llc -march=arm
+ int %test(int %a1, int %a2, int %a3) {
+ ret int %a3
+ }
Index: llvm/test/Regression/CodeGen/ARM/ret_arg4.ll
diff -c /dev/null llvm/test/Regression/CodeGen/ARM/ret_arg4.ll:1.1
*** /dev/null Thu Jun 1 17:01:37 2006
--- llvm/test/Regression/CodeGen/ARM/ret_arg4.ll Thu Jun 1 17:01:25 2006
***************
*** 0 ****
--- 1,4 ----
+ ; RUN: llvm-as < %s | llc -march=arm
+ int %test(int %a1, int %a2, int %a3, int %a4) {
+ ret int %a4
+ }
Index: llvm/test/Regression/CodeGen/ARM/ret_arg5.ll
diff -c /dev/null llvm/test/Regression/CodeGen/ARM/ret_arg5.ll:1.1
*** /dev/null Thu Jun 1 17:01:37 2006
--- llvm/test/Regression/CodeGen/ARM/ret_arg5.ll Thu Jun 1 17:01:25 2006
***************
*** 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
+ }
Index: llvm/test/Regression/CodeGen/ARM/ret_void.ll
diff -c /dev/null llvm/test/Regression/CodeGen/ARM/ret_void.ll:1.1
*** /dev/null Thu Jun 1 17:01:37 2006
--- llvm/test/Regression/CodeGen/ARM/ret_void.ll Thu Jun 1 17:01:25 2006
***************
*** 0 ****
--- 1,4 ----
+ ; RUN: llvm-as < %s | llc -march=arm
+ void %test() {
+ ret void
+ }
More information about the llvm-commits
mailing list