1 ; RUN: llvm-upgrade < %s | llvm-as | opt -scalarrepl -loopsimplify -licm -disable-output
3 implementation ; Functions:
7 br label %loopentry.0.outer1111
9 loopentry.0.outer1111: ; preds = %entry, %loopentry.0.outer1111, %label.11, %then.41
10 %left.0.ph1107 = phi uint [ %tmp.1172, %then.41 ], [ 0, %entry ], [ %tmp.1172, %label.11 ], [ %left.0.ph1107, %loopentry.0.outer1111 ] ; <uint> [#uses=2]
11 %tmp.1172 = sub uint %left.0.ph1107, 0 ; <uint> [#uses=2]
12 switch uint 0, label %label.11 [
13 uint 23, label %loopentry.0.outer1111
14 uint 13, label %then.41
17 label.11: ; preds = %loopentry.0.outer1111
18 br label %loopentry.0.outer1111
20 then.41: ; preds = %loopentry.0.outer1111
21 br label %loopentry.0.outer1111