1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -verify-machineinstrs | FileCheck %s 2*9880d681SAndroid Build Coastguard Workertarget triple = "arm64-apple-macosx10" 3*9880d681SAndroid Build Coastguard Worker 4*9880d681SAndroid Build Coastguard Worker; Make sure that a store to [sp] addresses off sp directly. 5*9880d681SAndroid Build Coastguard Worker; A move isn't necessary. 6*9880d681SAndroid Build Coastguard Worker; <rdar://problem/11492712> 7*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: g: 8*9880d681SAndroid Build Coastguard Worker; CHECK: str xzr, [sp] 9*9880d681SAndroid Build Coastguard Worker; CHECK: bl 10*9880d681SAndroid Build Coastguard Worker; CHECK: ret 11*9880d681SAndroid Build Coastguard Workerdefine void @g() nounwind ssp { 12*9880d681SAndroid Build Coastguard Workerentry: 13*9880d681SAndroid Build Coastguard Worker tail call void (i32, ...) @f(i32 0, i32 0) nounwind 14*9880d681SAndroid Build Coastguard Worker ret void 15*9880d681SAndroid Build Coastguard Worker} 16*9880d681SAndroid Build Coastguard Worker 17*9880d681SAndroid Build Coastguard Workerdeclare void @f(i32, ...) 18