1 ; RUN: llc < %s -march=x86 | FileCheck %s 2 3 define i32* @t() nounwind optsize ssp { 4 entry: 5 ; CHECK-LABEL: t: 6 ; CHECK: testl %eax, %eax 7 ; CHECK: js 8 %cmp = icmp slt i32 undef, 0 ; <i1> [#uses=1] 9 %outsearch.0 = select i1 %cmp, i1 false, i1 true ; <i1> [#uses=1] 10 br i1 %outsearch.0, label %if.then27, label %if.else29 11 12 if.then27: ; preds = %entry 13 ret i32* undef 14 15 if.else29: ; preds = %entry 16 unreachable 17 } 18 19