llvm.org GIT mirror llvm / 5482ef3
added some tests for argument passing git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28644 91177308-0d34-0410-b5e6-96231b3b80d8 Rafael Espindola 13 years ago
6 changed file(s) with 24 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as < %s | llc -march=arm
1 int %test(int %a1) {
2 ret int %a1
3 }
0 ; RUN: llvm-as < %s | llc -march=arm
1 int %test(int %a1, int %a2) {
2 ret int %a2
3 }
0 ; RUN: llvm-as < %s | llc -march=arm
1 int %test(int %a1, int %a2, int %a3) {
2 ret int %a3
3 }
0 ; RUN: llvm-as < %s | llc -march=arm
1 int %test(int %a1, int %a2, int %a3, int %a4) {
2 ret int %a4
3 }
0 ; RUN: llvm-as < %s | llc -march=arm
1 int %test(int %a1, int %a2, int %a3, int %a4, int %a5) {
2 ret int %a5
3 }
0 ; RUN: llvm-as < %s | llc -march=arm
1 void %test() {
2 ret void
3 }