1 # RUN: llc -o - %s -mtriple=aarch64-windows -start-before=prologepilog \
2 # RUN: -stop-after=prologepilog | FileCheck %s
3 # Check save_fregp_x, save_fregp
5 # CHECK: early-clobber $sp = frame-setup STPDpre killed $d10, killed $d11, $sp, -14
6 # CHECK-NEXT: frame-setup SEH_SaveFRegP_X 10, 11, -112
7 # CHECK-NEXT: frame-setup STPDi killed $d8, killed $d9, $sp, 2
8 # CHECK-NEXT: frame-setup SEH_SaveFRegP 8, 9, 16
9 # CHECK-NEXT: frame-setup STPXi killed $x27, killed $x28, $sp, 4
10 # CHECK-NEXT: frame-setup SEH_SaveRegP 27, 28, 32
11 # CHECK-NEXT: frame-setup STPXi killed $x25, killed $x26, $sp, 6
12 # CHECK-NEXT: frame-setup SEH_SaveRegP 25, 26, 48
13 # CHECK-NEXT: frame-setup STPXi killed $x23, killed $x24, $sp, 8
14 # CHECK-NEXT: frame-setup SEH_SaveRegP 23, 24, 64
15 # CHECK-NEXT: frame-setup STPXi killed $x21, killed $x22, $sp, 10
16 # CHECK-NEXT: frame-setup SEH_SaveRegP 21, 22, 80
17 # CHECK-NEXT: frame-setup STPXi killed $x19, killed $x20, $sp, 12
18 # CHECK-NEXT: frame-setup SEH_SaveRegP 19, 20, 96
19 # CHECK-NEXT: frame-setup SEH_PrologEnd
20 # CHECK: frame-destroy SEH_EpilogStart
21 # CHECK-NEXT: $x19, $x20 = frame-destroy LDPXi $sp, 12
22 # CHECK-NEXT: frame-destroy SEH_SaveRegP 19, 20, 96
23 # CHECK-NEXT: $x21, $x22 = frame-destroy LDPXi $sp, 10
24 # CHECK-NEXT: frame-destroy SEH_SaveRegP 21, 22, 80
25 # CHECK-NEXT: $x23, $x24 = frame-destroy LDPXi $sp, 8
26 # CHECK-NEXT: frame-destroy SEH_SaveRegP 23, 24, 64
27 # CHECK-NEXT: $x25, $x26 = frame-destroy LDPXi $sp, 6
28 # CHECK-NEXT: frame-destroy SEH_SaveRegP 25, 26, 48
29 # CHECK-NEXT: $x27, $x28 = frame-destroy LDPXi $sp, 4
30 # CHECK-NEXT: frame-destroy SEH_SaveRegP 27, 28, 32
31 # CHECK-NEXT: $d8, $d9 = frame-destroy LDPDi $sp, 2
32 # CHECK-NEXT: frame-destroy SEH_SaveFRegP 8, 9, 16
33 # CHECK-NEXT: early-clobber $sp, $d10, $d11 = frame-destroy LDPDpost $sp, 14
34 # CHECK-NEXT: frame-destroy SEH_SaveFRegP_X 10, 11, -112
35 # CHECK-NEXT: frame-destroy SEH_EpilogEnd
36 # CHECK-NEXT: RET_ReallyLR implicit $x0
41 exposesReturnsTwice: false
43 regBankSelected: false
46 tracksRegLiveness: true
50 - { reg: '$w0', virtual-reg: '' }
52 isFrameAddressTaken: false
53 isReturnAddressTaken: false
63 hasOpaqueSPAdjustment: true
65 hasMustTailInVarArgFunc: false
74 liveins: $x0, $x1, $d0, $d1, $d10, $d11, $d8, $d9, $x27, $x28, $x25, $x26, $x23, $x24, $x21, $x22, $x19, $x20
76 $x19 = ADDXrr $x0, killed $x1
77 $d8 = FADDDrr killed $d0, $d1
78 $d9 = FADDDrr $d8, $d1
79 $d10 = FADDDrr $d9, $d8
80 $d11 = FADDDrr killed $d9, $d10
81 $x20 = ADDXrr $x19, killed $x0
82 $x21 = ADDXrr $x20, killed $x19
83 $x22 = ADDXrr $x21, killed $x20
84 $x23 = ADDXrr $x22, killed $x21
85 $x24 = ADDXrr $x23, killed $x22
86 $x25 = ADDXrr $x24, killed $x23
87 $x26 = ADDXrr $x25, killed $x24
88 $x27 = ADDXrr $x26, killed $x25
89 $x28 = ADDXrr $x27, killed $x26
91 $x0 = ADDXrr $x0, killed $x28
92 RET_ReallyLR implicit $x0