1 ; RUN: opt -S -loopsimplify -disable-output -verify-loop-info -verify-dom-info < %s
4 ; When loopsimplify inserts a preheader for this loop, it should add the new
5 ; block to the enclosing loop and not get confused by the unreachable
8 define void @is_extract_cab() nounwind {
12 header: ; preds = %if.end206, %cond.end66, %if.end23
13 br label %while.body115
15 while.body115: ; preds = %9, %if.end192, %if.end101
16 br i1 undef, label %header, label %while.body115
19 br label %while.body115