1 # RUN: not 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 register between bb.end and one of
6 define void @inconsistentRegister() {
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: inconsistentRegister
18 CFI_INSTRUCTION def_cfa_register $rbp
19 JCC_1 %bb.2, 5, implicit undef $eflags
22 CFI_INSTRUCTION def_cfa $rsp, 8