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(ptr byval(%struct.s) %a) nounwind {
8 %tmp3 = load i32, ptr %a
11 ; CHECK: movl 4(%esp), %eax
14 define fastcc i32 @tailcaller(ptr byval(%struct.s) %a) nounwind {
16 %tmp4 = tail call fastcc i32 @tailcallee(ptr byval(%struct.s) %a )
19 ; CHECK: jmp tailcallee