brintos

brintos / llvm-project-archived public Read only

0
0
Text · 729 B · ffdd452 Raw
33 lines · plain
1# RUN: llc -mtriple=x86_64 -run-pass none -o - %s | FileCheck %s2# This test ensures that the MIR parser parses the cfi def_cfa_register3# operands correctly.4 5--- |6 7  define void @func() #0 {8  entry:9    unreachable10  }11 12  attributes #0 = { "frame-pointer"="all" }13 14...15---16name:            func17tracksRegLiveness: true18frameInfo:19  stackSize:     820fixedStack:21  - { id: 0, type: spill-slot, offset: -16, size: 8, alignment: 16 }22body: |23  bb.0.entry:24    liveins: $rbp25 26    PUSH64r killed $rbp, implicit-def $rsp, implicit $rsp27    CFI_INSTRUCTION def_cfa_offset 1628    CFI_INSTRUCTION offset $rbp, -1629    $rbp = MOV64rr $rsp30    ; CHECK: CFI_INSTRUCTION def_cfa_register $rbp31    CFI_INSTRUCTION def_cfa_register $rbp32...33