1 # RUN: not llc -march=x86-64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s 2 3 --- | 4 5 define i32 @foo(i32 %a) { 6 entry: 7 %0 = icmp sle i32 %a, 10 8 br i1 %0, label %less, label %exit 9 10 less: ; preds = %entry 11 ret i32 0 12 13 exit: ; preds = %entry 14 ret i32 %a 15 } 16 17 ... 18 --- 19 name: foo 20 tracksRegLiveness: true 21 liveins: 22 - { reg: '$edi' } 23 body: | 24 ; CHECK: [[@LINE+1]]:3: expected a basic block definition before instructions 25 successors: %bb.1.less, %bb.2.exit 26 liveins: $edi 44 27 28 CMP32ri8 $edi, 10, implicit-def $eflags 29 JG_1 %bb.2.exit, implicit killed $eflags 30 31 bb.1.less: 32 $eax = MOV32r0 implicit-def dead $eflags 33 RETQ killed $eax 34 35 bb.2.exit: 36 liveins: $edi 37 38 $eax = COPY killed $edi 39 RETQ killed $eax 40 ... 41