1 ; RUN: llc < %s -mtriple=i386-apple-darwin9
4 define void @int163(i32 %p_4, i32 %p_5) nounwind {
6 %0 = tail call i32 @bar(i32 1) nounwind ; <i32> [#uses=2]
7 %1 = icmp sgt i32 %0, 7 ; <i1> [#uses=1]
8 br i1 %1, label %foo.exit, label %bb.i
10 bb.i: ; preds = %entry
11 %2 = lshr i32 1, %0 ; <i32> [#uses=1]
12 %3 = icmp eq i32 %2, 0 ; <i1> [#uses=1]
13 %4 = zext i1 %3 to i32 ; <i32> [#uses=1]
14 %.p_5 = shl i32 %p_5, %4 ; <i32> [#uses=1]
17 foo.exit: ; preds = %bb.i, %entry
18 %5 = phi i32 [ %.p_5, %bb.i ], [ %p_5, %entry ] ; <i32> [#uses=1]
19 %6 = icmp eq i32 %5, 0 ; <i1> [#uses=0]
20 %7 = tail call i32 @bar(i32 %p_5) nounwind ; <i32> [#uses=0]