1*cee313d2SEric Christopher; RUN: opt < %s -loop-simplify -licm -disable-output
2*cee313d2SEric Christopherdefine void @main() {
3*cee313d2SEric Christopherentry:
4*cee313d2SEric Christopher	br i1 false, label %Out, label %loop
5*cee313d2SEric Christopherloop:		; preds = %loop, %entry
6*cee313d2SEric Christopher	%LI = icmp sgt i32 0, 0		; <i1> [#uses=1]
7*cee313d2SEric Christopher	br i1 %LI, label %loop, label %Out
8*cee313d2SEric ChristopherOut:		; preds = %loop, %entry
9*cee313d2SEric Christopher	ret void
10*cee313d2SEric Christopher}
11*cee313d2SEric Christopher
12