1 # RUN: llc -mtriple=aarch64-- -start-after prologepilog -o - %s | FileCheck %s
4 # CHECK: .cfi_startproc
5 tracksRegLiveness: true
11 - { id: 0, type: spill-slot, offset: -8, size: 8, alignment: 8, stack-id: default,
12 callee-saved-register: '$lr' }
13 - { id: 1, type: spill-slot, offset: -16, size: 8, alignment: 8, stack-id: default,
14 callee-saved-register: '$fp' }
19 $sp = frame-setup SUBXri $sp, 16, 0
20 frame-setup STRXui killed $fp, $sp, 0 :: (store 8 into %stack.1)
21 frame-setup CFI_INSTRUCTION offset $w29, -16
22 ; CHECK: .cfi_offset w29, -16
23 frame-setup STRXui killed $lr, $sp, 1 :: (store 8 into %stack.0)
24 frame-setup CFI_INSTRUCTION offset $w30, -8
25 ; CHECK: .cfi_offset w30, -8
26 $fp = frame-setup ADDXri $sp, 0, 0
27 frame-setup CFI_INSTRUCTION def_cfa $w29, 16
28 $lr = LDRXui $sp, 1 :: (load 8 from %stack.0)
29 CFI_INSTRUCTION restore $w30
30 ; CHECK: .cfi_restore w30
31 $fp = LDRXui $sp, 0 :: (load 8 from %stack.1)
32 CFI_INSTRUCTION restore $w29
33 ; CHECK: .cfi_restore w29
34 $sp = ADDXri $sp, 16, 0