1 ; RUN: llvm-upgrade < %s | llvm-as | opt -domtree -break-crit-edges -analyze \
2 ; RUN: -domtree | grep {3.*%brtrue }
4 implementation ; Functions:
6 declare void %use1(int)
8 void %f(int %i, bool %c) {
10 %A = seteq int %i, 0 ; <bool> [#uses=1]
11 br bool %A, label %brtrue, label %brfalse
13 brtrue: ; preds = %brtrue, %entry
14 %B = phi bool [ true, %brtrue ], [ false, %entry ] ; <bool> [#uses=1]
15 call void %use1( int %i )
16 br bool %B, label %brtrue, label %brfalse
18 brfalse: ; preds = %brtrue, %entry
19 call void %use1( int %i )