summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/tailcall-structret.ll
blob: dcfefe86704effeec3a5a7976a9cecf06ef40b9f (plain)
1
2
3
4
5
6
7
; RUN: llc < %s -mtriple=i686-unknown-linux -tailcallopt | FileCheck %s
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
; CHECK: jmp init
}