1 # RUN: llc -o - %s -mtriple=aarch64-windows -start-before=prologepilog \
2 # RUN: -stop-after=prologepilog | FileCheck %s
3 # Check save_reg_x, save_reg
5 # CHECK: early-clobber $sp = frame-setup STRXpre killed $x19, $sp, -16
6 # CHECK-NEXT: frame-setup SEH_SaveReg_X 19, -16
7 # CHECK-NEXT: frame-setup STRXui killed $x22, $sp, 1
8 # CHECK-NEXT: frame-setup SEH_SaveReg 22, 8
9 # CHECK-NEXT: frame-setup SEH_PrologEnd
10 # CHECK: frame-destroy SEH_EpilogStart
11 # CHECK-NEXT: $x22 = frame-destroy LDRXui $sp, 1
12 # CHECK-NEXT: frame-destroy SEH_SaveReg 22, 8
13 # CHECK-NEXT: early-clobber $sp, $x19 = frame-destroy LDRXpost $sp, 16
14 # CHECK-NEXT: frame-destroy SEH_SaveReg_X 19, -16
15 # CHECK-NEXT: frame-destroy SEH_EpilogEnd
16 # CHECK-NEXT: RET_ReallyLR implicit $x0
21 exposesReturnsTwice: false
23 regBankSelected: false
26 tracksRegLiveness: true
30 - { reg: '$w0', virtual-reg: '' }
32 isFrameAddressTaken: false
33 isReturnAddressTaken: false
43 hasOpaqueSPAdjustment: true
45 hasMustTailInVarArgFunc: false
55 $x19 = ADDXrr $x0, killed $x1
56 $x22 = ADDXrr killed $x19, $x0
57 $x0 = COPY killed $x22
58 RET_ReallyLR implicit $x0