1 ; RUN: llc -mtriple=arm64-apple-ios -mcpu=cyclone < %s | FileCheck %s 2 ; rdar://12254953 3 4 define i32 @t(i32 %a, i32 %b, i32 %c, i32 %d) nounwind ssp { 5 entry: 6 ; CHECK-LABEL: t: 7 ; CHECK: mov x0, [[REG1:x[0-9]+]] 8 ; CHECK: mov x1, [[REG2:x[0-9]+]] 9 ; CHECK: bl _foo 10 ; CHECK: mov x0, [[REG1]] 11 ; CHECK: mov x1, [[REG2]] 12 %call = call i32 @foo(i32 %c, i32 %d) nounwind 13 %call1 = call i32 @foo(i32 %c, i32 %d) nounwind 14 unreachable 15 } 16 17 declare i32 @foo(i32, i32) 18