2011-02-11 07:38:10 +08:00
|
|
|
; 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
|
|
|
|