1 ; RUN: llc < %s -mtriple=x86_64-apple-darwin10 | FileCheck %s
3 define i32 @cmp(i32* %aa, i32* %bb) nounwind readnone ssp {
7 %cmp = icmp sgt i32 %a, %b
8 br i1 %cmp, label %return, label %if.end
12 if.end: ; preds = %entry
15 %cmp4 = icmp slt i32 %a, %b
16 %. = select i1 %cmp4, i32 2, i32 111
19 return: ; preds = %if.end, %entry
20 %retval.0 = phi i32 [ 1, %entry ], [ %., %if.end ]