xref: /aosp_15_r20/external/llvm/test/CodeGen/ARM/2010-12-07-PEIBug.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -mtriple=thumbv7-apple-ios -mcpu=cortex-a9 | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker; rdar://8728956
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Workerdefine hidden void @foo() nounwind ssp {
5*9880d681SAndroid Build Coastguard Workerentry:
6*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: foo:
7*9880d681SAndroid Build Coastguard Worker; CHECK: mov r7, sp
8*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: vpush {d10, d11}
9*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: vpush {d8}
10*9880d681SAndroid Build Coastguard Worker  tail call void asm sideeffect "","~{d8},~{d10},~{d11}"() nounwind
11*9880d681SAndroid Build Coastguard Worker; CHECK: vpop {d8}
12*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: vpop {d10, d11}
13*9880d681SAndroid Build Coastguard Worker  ret void
14*9880d681SAndroid Build Coastguard Worker}
15*9880d681SAndroid Build Coastguard Worker
16*9880d681SAndroid Build Coastguard Workerdeclare hidden float @bar() nounwind readnone ssp
17