1 ; RUN: lli %s > /dev/null 2 3 ; Testcase distilled from 256.bzip2. 4 5 target datalayout = "e-p:32:32" 6 7 define i32 @main() { 8 entry: 9 br label %loopentry.0 10 loopentry.0: ; preds = %loopentry.0, %entry 11 %h.0 = phi i32 [ %tmp.2, %loopentry.0 ], [ -1, %entry ] ; <i32> [#uses=1] 12 %tmp.2 = add i32 %h.0, 1 ; <i32> [#uses=3] 13 %tmp.4 = icmp ne i32 %tmp.2, 0 ; <i1> [#uses=1] 14 br i1 %tmp.4, label %loopentry.0, label %loopentry.1 15 loopentry.1: ; preds = %loopentry.0 16 %h.1 = phi i32 [ %tmp.2, %loopentry.0 ] ; <i32> [#uses=1] 17 ret i32 %h.1 18 } 19 20