llvm-project/llvm/test/CodeGen/X86/tailcall-structret.ll

7 lines
272 B
LLVM
Raw Normal View History

; 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
}