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 csr saved set between bb.end and
4 # one of its precedessors.
6 define void @inconsistentCSR() {
16 # CHECK: *** Inconsistent CSR Saved between pred and succ in function inconsistentCSR ***
17 # CHECK: LLVM ERROR: Found 1 in/out CFI information errors.
21 JCC_1 %bb.2, 5, implicit undef $eflags
24 CFI_INSTRUCTION offset $rbp, -16