mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-08 08:54:58 +00:00
7 lines
272 B
LLVM
7 lines
272 B
LLVM
|
; RUN: llvm-as < %s | llc -march=x86 -tailcallopt | grep TAILCALL
|
||
|
define fastcc { { i8*, i8* }*, i8*} @init({ { i8*, i8* }*, i8*}, i32) {
|
||
|
entry:
|
||
|
%2 = tail call fastcc { { i8*, i8* }*, i8* } @init({ { i8*, i8*}*, i8*} %0, i32 %1)
|
||
|
ret { { i8*, i8* }*, i8*} %2
|
||
|
}
|