1 # RUN: not llc -march=x86-64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
5 define i32 @foo(i32* %p) {
8 %0 = icmp sle i32 %a, 10
9 br i1 %0, label %less, label %exit
24 $eax = MOV32rm $rdi, 1, _, 0, _
25 CMP32ri8 $eax, 10, implicit-def $eflags
26 ; CHECK: [[@LINE+1]]:47: missing implicit register operand 'implicit $eflags'
27 JCC_1 %bb.2.exit, 15, implicit-def $eflags
30 $eax = MOV32r0 implicit-def $eflags