aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/PredicateSimplifier/2006-11-05-CycleGTLT.ll
blob: 5ec420c8e1c5b2517c2f0d47103bda9eb4e00627 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: opt < %s -predsimplify -disable-output

define void @diff(i32 %N) {
entry:
	%tmp = icmp sgt i32 %N, 0		; <i1> [#uses=1]
	br i1 %tmp, label %bb519, label %bb744
bb519:		; preds = %entry
	%tmp720101 = icmp slt i32 %N, 0		; <i1> [#uses=1]
	br i1 %tmp720101, label %bb744, label %bb744
bb744:		; preds = %bb519, %bb519, %entry
	ret void
}