2008-03-10 08:21:50 +01:00
|
|
|
; RUN: llvm-as < %s | opt -simplifycfg -disable-output
|
2006-02-18 01:32:44 +01:00
|
|
|
|
2008-03-10 08:21:50 +01:00
|
|
|
define void @polnel_() {
|
2006-02-18 01:32:44 +01:00
|
|
|
entry:
|
2008-03-10 08:21:50 +01:00
|
|
|
%tmp595 = icmp slt i32 0, 0 ; <i1> [#uses=4]
|
|
|
|
br i1 %tmp595, label %bb148.critedge, label %cond_true40
|
2006-02-18 01:32:44 +01:00
|
|
|
bb36: ; preds = %bb43
|
2008-03-10 08:21:50 +01:00
|
|
|
br i1 %tmp595, label %bb43, label %cond_true40
|
2006-02-18 01:32:44 +01:00
|
|
|
cond_true40: ; preds = %bb46, %cond_true40, %bb36, %entry
|
2008-03-10 08:21:50 +01:00
|
|
|
%tmp397 = icmp sgt i32 0, 0 ; <i1> [#uses=1]
|
|
|
|
br i1 %tmp397, label %bb43, label %cond_true40
|
2006-02-18 01:32:44 +01:00
|
|
|
bb43: ; preds = %cond_true40, %bb36
|
2008-03-10 08:21:50 +01:00
|
|
|
br i1 false, label %bb53, label %bb36
|
2006-02-18 01:32:44 +01:00
|
|
|
bb46: ; preds = %bb53
|
2008-03-10 08:21:50 +01:00
|
|
|
br i1 %tmp595, label %bb53, label %cond_true40
|
2006-02-18 01:32:44 +01:00
|
|
|
bb53: ; preds = %bb46, %bb43
|
2008-03-10 08:21:50 +01:00
|
|
|
br i1 false, label %bb102, label %bb46
|
2006-02-18 01:32:44 +01:00
|
|
|
bb92.preheader: ; preds = %bb102
|
|
|
|
ret void
|
|
|
|
bb102: ; preds = %bb53
|
2008-03-10 08:21:50 +01:00
|
|
|
br i1 %tmp595, label %bb148, label %bb92.preheader
|
2006-02-18 01:32:44 +01:00
|
|
|
bb148.critedge: ; preds = %entry
|
|
|
|
ret void
|
|
|
|
bb148: ; preds = %bb102
|
|
|
|
ret void
|
|
|
|
}
|
2008-03-10 08:21:50 +01:00
|
|
|
|