1 ; RUN: llvm-as < %s | opt -loop-unswitch -disable-output
2 implementation ; Functions:
4 void %init_caller_save() {
8 cond_next20: ; preds = %cond_true64
11 bb31: ; preds = %cond_true64, %cond_true64, %cond_next20
12 %iftmp.29.1 = phi uint [ 0, %cond_next20 ], [ 0, %cond_true64 ], [ 0, %cond_true64 ] ; <uint> [#uses=0]
15 bb54: ; preds = %cond_true78, %bb31
16 br bool false, label %bb75, label %cond_true64
18 cond_true64: ; preds = %bb54
19 switch int %i.0.0, label %cond_next20 [
25 %tmp74.0 = add int %i.0.0, 1 ; <int> [#uses=1]
28 cond_true78: ; preds = %bb75, %entry
29 %i.0.0 = phi int [ 0, %entry ], [ %tmp74.0, %bb75 ] ; <int> [#uses=2]