66 lines · plain
1# RUN: llc -o - %s -mtriple=aarch64-windows -start-before=prologepilog \2# RUN: -stop-after=prologepilog | FileCheck %s3 4# Check that lr isn't paired with a GPR if it's the first pair, as5# that can't be described as a SEH opcode if combined with predecrement.6 7# CHECK: early-clobber $sp = frame-setup STRXpre killed $x19, $sp, -168# CHECK-NEXT: frame-setup SEH_SaveReg_X 19, -169# CHECK-NEXT: frame-setup STRXui killed $lr, $sp, 110# CHECK-NEXT: frame-setup SEH_SaveReg 30, 811# CHECK-NEXT: frame-setup SEH_PrologEnd12 13--- |14 15 define dso_local i32 @func(i32 %a) { ret i32 %a }16 declare dso_local i32 @other()17 18...19---20name: func21alignment: 422exposesReturnsTwice: false23legalized: false24regBankSelected: false25selected: false26failedISel: false27tracksRegLiveness: true28hasWinCFI: false29registers: []30liveins: []31frameInfo:32 isFrameAddressTaken: false33 isReturnAddressTaken: false34 hasStackMap: false35 hasPatchPoint: false36 stackSize: 037 offsetAdjustment: 038 maxAlignment: 439 adjustsStack: false40 hasCalls: false41 stackProtector: ''42 maxCallFrameSize: 043 cvBytesOfCalleeSavedRegisters: 044 hasOpaqueSPAdjustment: false45 hasVAStart: false46 hasMustTailInVarArgFunc: false47 localFrameSize: 448 savePoint: []49 restorePoint: []50fixedStack: []51stack: []52callSites: []53constants: []54machineFunctionInfo: {}55body: |56 bb.0:57 liveins: $x0, $x1958 59 BL @other, csr_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $w0, implicit-def $sp, implicit-def $w060 $x19 = ADDXrr $x0, $x061 $x0 = ADDXrr $x0, killed $x1962 63 RET_ReallyLR64 65...66