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