1 ; RUN: opt < %s -domtree -break-crit-edges -analyze \ 2 ; RUN: -domtree | grep {3.*%brtrue } 3 ; PR932 4 5 declare void @use1(i32) 6 7 define void @f(i32 %i, i1 %c) { 8 entry: 9 %A = icmp eq i32 %i, 0 ; <i1> [#uses=1] 10 br i1 %A, label %brtrue, label %brfalse 11 12 brtrue: ; preds = %brtrue, %entry 13 %B = phi i1 [ true, %brtrue ], [ false, %entry ] ; <i1> [#uses=1] 14 call void @use1( i32 %i ) 15 br i1 %B, label %brtrue, label %brfalse 16 17 brfalse: ; preds = %brtrue, %entry 18 call void @use1( i32 %i ) 19 ret void 20 } 21