mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
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:
parent
29c312300e
commit
5482ef3722
4
test/CodeGen/ARM/ret_arg1.ll
Normal file
4
test/CodeGen/ARM/ret_arg1.ll
Normal file
@ -0,0 +1,4 @@
|
||||
; RUN: llvm-as < %s | llc -march=arm
|
||||
int %test(int %a1) {
|
||||
ret int %a1
|
||||
}
|
4
test/CodeGen/ARM/ret_arg2.ll
Normal file
4
test/CodeGen/ARM/ret_arg2.ll
Normal file
@ -0,0 +1,4 @@
|
||||
; RUN: llvm-as < %s | llc -march=arm
|
||||
int %test(int %a1, int %a2) {
|
||||
ret int %a2
|
||||
}
|
4
test/CodeGen/ARM/ret_arg3.ll
Normal file
4
test/CodeGen/ARM/ret_arg3.ll
Normal file
@ -0,0 +1,4 @@
|
||||
; RUN: llvm-as < %s | llc -march=arm
|
||||
int %test(int %a1, int %a2, int %a3) {
|
||||
ret int %a3
|
||||
}
|
4
test/CodeGen/ARM/ret_arg4.ll
Normal file
4
test/CodeGen/ARM/ret_arg4.ll
Normal 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
|
||||
}
|
4
test/CodeGen/ARM/ret_arg5.ll
Normal file
4
test/CodeGen/ARM/ret_arg5.ll
Normal 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
|
||||
}
|
4
test/CodeGen/ARM/ret_void.ll
Normal file
4
test/CodeGen/ARM/ret_void.ll
Normal file
@ -0,0 +1,4 @@
|
||||
; RUN: llvm-as < %s | llc -march=arm
|
||||
void %test() {
|
||||
ret void
|
||||
}
|
Loading…
Reference in New Issue
Block a user