mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-18 10:31:57 +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
|
||
|
}
|