aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/LoopSimplify/2004-03-15-IncorrectDomUpdate.ll
blob: dc5c313546410425106a9688d80fd7ca28741d74 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: opt < %s -loopsimplify -licm -disable-output
define void @main() {
entry:
	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
	ret void
}