1 ; RUN: opt -loop-simplify -S < %s | FileCheck %s
3 ; LoopSimplify shouldn't split loop backedges that use indirectbr.
5 ; CHECK: bb1: ; preds = %bb5, %bb
6 ; CHECK-NEXT: indirectbr
8 ; CHECK: bb5: ; preds = %bb1
9 ; CHECK-NEXT: br label %bb1{{$}}
11 define void @foo(i8* %p) nounwind {
15 bb1: ; preds = %bb5, %bb1, %bb
16 indirectbr i8* %p, [label %bb6, label %bb7, label %bb1, label %bb2, label %bb3, label %bb5, label %bb4]