llvm-for-llvmta/test/CodeGen/X86/cfi-inserter-cfg-with-merge...

18 lines
309 B
YAML

# RUN: llc -o - %s -mtriple=x86_64-- -verify-cfiinstrs -run-pass=cfi-instr-inserter
--- |
define void @foo() { ret void }
...
---
name: foo
body: |
bb.0:
JCC_1 %bb.3, 4, implicit $eflags
bb.1:
CFI_INSTRUCTION def_cfa_offset 24
bb.2:
CFI_INSTRUCTION def_cfa_offset 8
bb.3:
RET 0
...