1 ; RUN: llvm-as < %s | llc -march=x86 -tailcallopt | grep TAILCALL
2 %struct.s = type { i32, i32, i32 }
4 define fastcc i32 @tailcallee(%struct.s* byval %a) {
6 %tmp2 = getelementptr %struct.s* %a, i32 0, i32 0
7 %tmp3 = load i32* %tmp2
11 define fastcc i32 @tailcaller(%struct.s* byval %a) {
13 %tmp4 = tail call fastcc i32 @tailcallee(%struct.s* %a byval)