1 # RUN: llc -march=x86-64 -run-pass none -o - %s | FileCheck %s
2 # This test ensures that the MIR parser parses the cfi def_cfa_register
7 define void @func() #0 {
12 attributes #0 = { "no-frame-pointer-elim"="true" }
17 tracksRegLiveness: true
21 - { id: 0, type: spill-slot, offset: -16, size: 8, alignment: 16 }
26 PUSH64r killed $rbp, implicit-def $rsp, implicit $rsp
27 CFI_INSTRUCTION def_cfa_offset 16
28 CFI_INSTRUCTION offset $rbp, -16
30 ; CHECK: CFI_INSTRUCTION def_cfa_register $rbp
31 CFI_INSTRUCTION def_cfa_register $rbp