1 # RUN: not llc -march=x86-64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
2 # This test ensures that an error is reported when an unknown named machine
3 # basic block is encountered.
7 define i32 @foo(i32* %p) {
10 %0 = icmp sle i32 %a, 10
11 br i1 %0, label %less, label %exit
25 $eax = MOV32rm $rdi, 1, _, 0, _
26 CMP32ri8 $eax, 10, implicit-def $eflags
27 ; CHECK: [[@LINE+1]]:11: the name of machine basic block #2 isn't 'hit'
28 JCC_1 %bb.2.hit, 15, implicit $eflags
31 $eax = MOV32r0 implicit-def $eflags