41 lines · plain
1# RUN: not llc -mtriple=x86_64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s2 3--- |4 5 define i32 @foo(i32 %a) {6 entry:7 %0 = icmp sle i32 %a, 108 br i1 %0, label %less, label %exit9 10 less: ; preds = %entry11 ret i32 012 13 exit: ; preds = %entry14 ret i32 %a15 }16 17...18---19name: foo20tracksRegLiveness: true21liveins:22 - { reg: '$edi' }23body: |24 ; CHECK: [[@LINE+1]]:3: expected a basic block definition before instructions25 successors: %bb.1.less, %bb.2.exit26 liveins: $edi 4427 28 CMP32ri8 $edi, 10, implicit-def $eflags29 JCC_1 %bb.2.exit, 15, implicit killed $eflags30 31 bb.1.less:32 $eax = MOV32r0 implicit-def dead $eflags33 RET64 killed $eax34 35 bb.2.exit:36 liveins: $edi37 38 $eax = COPY killed $edi39 RET64 killed $eax40...41