1; RUN: opt < %s -loop-extract-single -disable-output 2 3define void @ab() { 4entry: 5 br label %codeReplTail 6 7then.1: ; preds = %codeReplTail 8 br label %loopentry.1 9 10loopentry.1: ; preds = %no_exit.1, %then.1 11 br i1 false, label %no_exit.1, label %loopexit.0.loopexit1 12 13no_exit.1: ; preds = %loopentry.1 14 br label %loopentry.1 15 16loopexit.0.loopexit: ; preds = %codeReplTail 17 ret void 18 19loopexit.0.loopexit1: ; preds = %loopentry.1 20 ret void 21 22codeReplTail: ; preds = %codeReplTail, %entry 23 switch i16 0, label %codeReplTail [ 24 i16 0, label %loopexit.0.loopexit 25 i16 1, label %then.1 26 ] 27} 28 29