fix a globalopt crash on two Adobe-C++ testcases that the recent
[llvm.git] / test / Transforms / LoopSimplify / 2004-02-05-DominatorInfoCorruption.ll
bloba5d0ba7ad76a81500f120d30a43ffc10a46a1423
1 ; RUN: opt < %s -loopsimplify -verify -licm -disable-output
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