34 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(ptr %p) {6 entry:7 %a = load i32, ptr %p8 %b = icmp sle i32 %a, 109 br i1 %b, label %yes, label %nah10 11 yes:12 ret i32 013 14 nah:15 ret i32 %a16 }17 18...19---20name: foo21body: |22 bb.0.entry:23 $eax = MOV32rm $rdi, 1, _, 0, _24 CMP32ri8 $eax, 10, implicit-def $eflags25 ; CHECK: [[@LINE+1]]:15: expected a number after '%bb.'26 JCC_1 %bb.nah, 15, implicit $eflags27 28 bb.1.true:29 $eax = MOV32r0 implicit-def $eflags30 31 bb.2.nah:32 RET64 $eax33...34