1 ; RUN: llc < %s -mtriple=x86_64-apple-darwin11 | FileCheck %s 2 ; rdar://7362871 3 4 define void @bar(i32 %b, i32 %a) nounwind optsize ssp { 5 entry: 6 ; CHECK: leal 15(%rsi), %edi 7 ; CHECK-NOT: movl 8 ; CHECK: _foo 9 %0 = add i32 %a, 15 ; <i32> [#uses=1] 10 %1 = zext i32 %0 to i64 ; <i64> [#uses=1] 11 tail call void @foo(i64 %1) nounwind 12 ret void 13 } 14 15 declare void @foo(i64) 16