blob: 6a58e9e551828bec1f24eea314c0be432b6ccec7 [file] [log] [blame]
Evan Chengcb611272010-02-27 07:36:59 +00001; RUN: llc < %s -march=x86 | FileCheck %s
2
3define i32* @t() nounwind optsize ssp {
4entry:
5; CHECK: 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
12if.then27: ; preds = %entry
13 ret i32* undef
14
15if.else29: ; preds = %entry
16 unreachable
17}
18