1 ; RUN: llc < %s -mtriple=i686-unknown-linux -tailcallopt | FileCheck %s
2 %struct.s = type {i32, i32, i32, i32, i32, i32, i32, i32,
3 i32, i32, i32, i32, i32, i32, i32, i32,
4 i32, i32, i32, i32, i32, i32, i32, i32 }
6 define fastcc i32 @tailcallee(%struct.s* byval %a) nounwind {
8 %tmp2 = getelementptr %struct.s, %struct.s* %a, i32 0, i32 0
9 %tmp3 = load i32, i32* %tmp2
12 ; CHECK: movl 4(%esp), %eax
15 define fastcc i32 @tailcaller(%struct.s* byval %a) nounwind {
17 %tmp4 = tail call fastcc i32 @tailcallee(%struct.s* byval %a )
20 ; CHECK: jmp tailcallee