1 # RUN: not llc -march=x86-64 -run-pass none -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
22 successors: %bb.1.less, %bb.2.exit
24 CMP32ri8 $edi, 10, implicit-def $eflags
25 ; CHECK: [[@LINE+1]]:36: duplicate 'implicit' register flag
26 JCC_1 %bb.2.exit, 15, implicit implicit $eflags
29 $eax = MOV32r0 implicit-def $eflags