1 ; RUN: llc -tailcallopt -mcpu=core < %s | FileCheck %s
3 target triple = "i686-apple-darwin"
5 declare fastcc void @foo(i32, i32, i32, i32, i32, i32)
8 define fastcc void @hoge(i32 %b) nounwind {
9 ; Do not overwrite pushed callee-save registers
11 ; CHECK: subl $[[SIZE:[0-9]+]], %esp
12 ; CHECK-NOT: [[SIZE]](%esp)
15 %d = tail call ptr @bar(ptr %a) nounwind
17 tail call fastcc void @foo(i32 1, i32 2, i32 3, i32 4, i32 5, i32 6) nounwind