1 # RUN: not --crash llc -o - %s -mtriple=x86_64-- -verify-cfiinstrs \
2 # RUN: -run-pass=cfi-instr-inserter 2>&1 | FileCheck %s
3 # Test that CFI verifier finds inconsistent offset between bb.end and one of
6 define void @inconsistentOffset() {
12 # CHECK: *** Inconsistent CFA register and/or offset between pred and succ ***
14 # CHECK: LLVM ERROR: Found 1 in/out CFI information errors.
15 name: inconsistentOffset
18 CFI_INSTRUCTION def_cfa_offset 24
19 JCC_1 %bb.2, 5, implicit undef $eflags
22 CFI_INSTRUCTION def_cfa_offset 32