brintos

brintos / llvm-project-archived public Read only

0
0
Text · 653 B · 527407f Raw
30 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 offset operands3# correctly.4 5--- |6 7  define void @test() {8  entry:9    %tmp = alloca [4168 x i8], align 410    ret void11  }12 13...14---15name:            test16tracksRegLiveness: true17frameInfo:18  stackSize:       404019stack:20  - { id: 0, name: tmp, offset: -4176, size: 4168, alignment: 4 }21body: |22  bb.0.entry:23    $rsp = SUB64ri32 $rsp, 4040, implicit-def dead $eflags24    ; CHECK: CFI_INSTRUCTION def_cfa_offset 404825    CFI_INSTRUCTION def_cfa_offset 404826    $rsp = ADD64ri32 $rsp, 4040, implicit-def dead $eflags27    RET6428...29 30