mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
f3a335cedf
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29748 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
589 B
LLVM
19 lines
589 B
LLVM
; RUN: llvm-as < %s | llc -march=arm
|
|
void %f(int %a, int %b, int %c, int %d, int %e) {
|
|
entry:
|
|
%a_addr = alloca int ; <int*> [#uses=2]
|
|
%b_addr = alloca int ; <int*> [#uses=2]
|
|
%c_addr = alloca int ; <int*> [#uses=2]
|
|
%d_addr = alloca int ; <int*> [#uses=2]
|
|
%e_addr = alloca int ; <int*> [#uses=2]
|
|
store int %a, int* %a_addr
|
|
store int %b, int* %b_addr
|
|
store int %c, int* %c_addr
|
|
store int %d, int* %d_addr
|
|
store int %e, int* %e_addr
|
|
call void %g( int* %a_addr, int* %b_addr, int* %c_addr, int* %d_addr, int* %e_addr )
|
|
ret void
|
|
}
|
|
|
|
declare void %g(int*, int*, int*, int*, int*)
|