1 ; RUN: opt %s -loop-unswitch -disable-output
3 define void @sort_Eq(i32* %S2) {
5 br i1 false, label %list_Length.exit, label %cond_true.i
6 cond_true.i: ; preds = %entry
8 list_Length.exit: ; preds = %entry
9 br i1 false, label %list_Length.exit9, label %cond_true.i5
10 cond_true.i5: ; preds = %list_Length.exit
12 list_Length.exit9: ; preds = %list_Length.exit
13 br i1 false, label %bb78, label %return
14 bb44: ; preds = %bb78, %cond_next68
15 br i1 %tmp49.not, label %bb62, label %bb62.loopexit
16 bb62.loopexit: ; preds = %bb44
18 bb62: ; preds = %bb62.loopexit, %bb44
19 br i1 false, label %return.loopexit, label %cond_next68
20 cond_next68: ; preds = %bb62
21 br i1 false, label %return.loopexit, label %bb44
22 bb78: ; preds = %list_Length.exit9
23 %tmp49.not = icmp eq i32* %S2, null ; <i1> [#uses=1]
25 return.loopexit: ; preds = %cond_next68, %bb62
26 %retval.0.ph = phi i32 [ 1, %cond_next68 ], [ 0, %bb62 ] ; <i32> [#uses=1]
28 return: ; preds = %return.loopexit, %list_Length.exit9
29 %retval.0 = phi i32 [ 0, %list_Length.exit9 ], [ %retval.0.ph, %return.loopexit ] ; <i32> [#uses=0]