llvm-project/llvm/test/Transforms/LoopSimplify/2004-03-15-IncorrectDomUpda...

12 lines
273 B
LLVM
Raw Normal View History

; RUN: opt < %s -loop-simplify -licm -disable-output
2008-03-25 12:26:08 +08:00
define void @main() {
2004-03-16 13:44:02 +08:00
entry:
2008-03-25 12:26:08 +08:00
br i1 false, label %Out, label %loop
loop: ; preds = %loop, %entry
%LI = icmp sgt i32 0, 0 ; <i1> [#uses=1]
br i1 %LI, label %loop, label %Out
Out: ; preds = %loop, %entry
2004-03-16 13:44:02 +08:00
ret void
}
2008-03-25 12:26:08 +08:00