mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
71d94d8817
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31037 91177308-0d34-0410-b5e6-96231b3b80d8
21 lines
404 B
LLVM
21 lines
404 B
LLVM
; RUN: llvm-as < %s | llc -march=arm &&
|
|
; RUN: llvm-as < %s | llc -march=arm | grep bl &&
|
|
; RUN: llvm-as < %s | llc -march=arm | grep blx
|
|
|
|
void %f() {
|
|
entry:
|
|
call void %g( int 1, int 2, int 3, int 4 )
|
|
call fastcc void %h()
|
|
ret void
|
|
}
|
|
|
|
declare void %g(int, int, int, int)
|
|
declare fastcc void %h()
|
|
|
|
void %g(void (...)* %g) {
|
|
entry:
|
|
%g_c = cast void (...)* %g to void ()*
|
|
call void %g_c( )
|
|
ret void
|
|
}
|