1 ; RUN: llvm-upgrade < %s | llvm-as | opt -domtree -break-crit-edges -analyze -domtree | grep '3.*%brtrue$'
3 implementation ; Functions:
5 declare void %use1(int)
7 void %f(int %i, bool %c) {
9 %A = seteq int %i, 0 ; <bool> [#uses=1]
10 br bool %A, label %brtrue, label %brfalse
12 brtrue: ; preds = %brtrue, %entry
13 %B = phi bool [ true, %brtrue ], [ false, %entry ] ; <bool> [#uses=1]
14 call void %use1( int %i )
15 br bool %B, label %brtrue, label %brfalse
17 brfalse: ; preds = %brtrue, %entry
18 call void %use1( int %i )