1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/Transforms/LoopSimplify/2004-03-15-IncorrectDomUpdate.ll

12 lines
273 B
LLVM
Raw Normal View History

; RUN: opt < %s -loop-simplify -licm -disable-output
2008-03-25 05:26:08 +01:00
define void @main() {
2004-03-16 06:44:02 +01:00
entry:
2008-03-25 05:26:08 +01: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 06:44:02 +01:00
ret void
}
2008-03-25 05:26:08 +01:00