1 ; RUN: llc < %s -march=x86 | grep mov | count 3 2 3 define fastcc i32 @_Z18yy_get_next_bufferv() nounwind { 4 entry: 5 br label %bb131 6 7 bb116: ; preds = %bb131 8 %tmp125126 = trunc i32 %c.1 to i8 ; <i8> [#uses=1] 9 store i8 %tmp125126, i8* null, align 1 10 br label %bb131 11 12 bb131: ; preds = %bb116, %entry 13 %c.2 = phi i32 [ %c.1, %bb116 ], [ 42, %entry ] ; <i32> [#uses=1] 14 %c.1 = select i1 false, i32 0, i32 %c.2 ; <i32> [#uses=4] 15 %tmp181 = icmp eq i32 %c.1, -1 ; <i1> [#uses=1] 16 br i1 %tmp181, label %bb158, label %bb116 17 18 bb158: ; preds = %bb131 19 br i1 true, label %cond_true163, label %cond_next178 20 21 cond_true163: ; preds = %bb158 22 %tmp172173 = trunc i32 %c.1 to i8 ; <i8> [#uses=1] 23 store i8 %tmp172173, i8* null, align 1 24 br label %cond_next178 25 26 cond_next178: ; preds = %cond_true163, %bb158 27 %tmp180 = icmp eq i32 %c.1, -1 ; <i1> [#uses=1] 28 br i1 %tmp180, label %cond_next184, label %cond_next199 29 30 cond_next184: ; preds = %cond_next178 31 ret i32 0 32 33 cond_next199: ; preds = %cond_next178 34 ret i32 0 35 } 36