1 ; RUN: opt < %s -simple-loop-unswitch -disable-output
2 ; RUN: opt < %s -simple-loop-unswitch -enable-mssa-loop-dependency=true -verify-memoryssa -disable-output
4 define i32 @main(i32 %argc, i8** %argv) {
6 %tmp1785365 = icmp ult i32 0, 100 ; <i1> [#uses=1]
9 bb: ; preds = %cond_true, %entry
10 br i1 false, label %cond_true, label %cond_next
12 cond_true: ; preds = %bb
13 br i1 %tmp1785365, label %bb, label %bb1788
15 cond_next: ; preds = %bb
16 %iftmp.1.0 = select i1 false, i32 0, i32 0 ; <i32> [#uses=1]
17 br i1 false, label %cond_true47, label %cond_next74
19 cond_true47: ; preds = %cond_next
20 %tmp53 = urem i32 %iftmp.1.0, 0 ; <i32> [#uses=0]
23 cond_next74: ; preds = %cond_next
26 bb1788: ; preds = %cond_true