added some tests for argument passing

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28644 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2006-06-01 22:01:25 +00:00
parent 29c312300e
commit 5482ef3722
6 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm
int %test(int %a1) {
ret int %a1
}

View File

@ -0,0 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm
int %test(int %a1, int %a2) {
ret int %a2
}

View File

@ -0,0 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm
int %test(int %a1, int %a2, int %a3) {
ret int %a3
}

View File

@ -0,0 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm
int %test(int %a1, int %a2, int %a3, int %a4) {
ret int %a4
}

View File

@ -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
}

View File

@ -0,0 +1,4 @@
; RUN: llvm-as < %s | llc -march=arm
void %test() {
ret void
}