1 # RUN: not llc -march=x86-64 -start-after branch-folder -stop-after branch-folder -o /dev/null %s 2>&1 | FileCheck %s
5 define i32 @foo(i32 %a) {
7 %0 = icmp sle i32 %a, 10
8 br i1 %0, label %less, label %exit
23 successors: [ '%bb.1.less', '%bb.2.exit' ]
24 # CHECK: [[@LINE+1]]:23: too few successor weights, expected 2, have 1
28 - 'CMP32ri8 %edi, 10, implicit-def %eflags'
29 - 'JG_1 %bb.2.exit, implicit killed %eflags'
33 - '%eax = MOV32r0 implicit-def dead %eflags'
39 - '%eax = COPY killed %edi'