LowerSwitch: replace unreachable default with popular case destination
[oota-llvm.git] / test / Transforms / LoopSimplify / 2004-02-05-DominatorInfoCorruption.ll
1 ; RUN: opt < %s -loop-simplify -verify -licm -disable-output
2
3 define void @.subst_48() {
4 entry:
5         br label %loopentry.0
6 loopentry.0:            ; preds = %loopentry.0, %entry
7         br i1 false, label %loopentry.0, label %loopentry.2
8 loopentry.2:            ; preds = %loopentry.2, %loopentry.0
9         %tmp.968 = icmp sle i32 0, 3            ; <i1> [#uses=1]
10         br i1 %tmp.968, label %loopentry.2, label %UnifiedReturnBlock
11 UnifiedReturnBlock:             ; preds = %loopentry.2
12         ret void
13 }
14