22 lines · plain
1; RUN: opt < %s -passes=loop-rotate,simple-loop-unswitch -disable-output2 3define i32 @stringSearch_Clib(i32 %count) {4entry:5 br i1 false, label %bb36, label %bb446 7cond_true20: ; preds = %bb368 %tmp33 = add i32 0, 0 ; <i32> [#uses=1]9 br label %bb3610 11bb36: ; preds = %cond_true20, %entry12 %c.2 = phi i32 [ %tmp33, %cond_true20 ], [ 0, %entry ] ; <i32> [#uses=1]13 br i1 false, label %cond_true20, label %bb4114 15bb41: ; preds = %bb3616 %c.2.lcssa = phi i32 [ %c.2, %bb36 ] ; <i32> [#uses=0]17 ret i32 018 19bb44: ; preds = %entry20 ret i32 021}22