2008-03-19 05:39:35 +00:00
|
|
|
; RUN: llvm-as < %s | opt -predsimplify -disable-output
|
2006-11-22 23:49:16 +00:00
|
|
|
|
2008-03-19 05:39:35 +00:00
|
|
|
define void @diff(i32 %N) {
|
2006-11-22 23:49:16 +00:00
|
|
|
entry:
|
2008-03-19 05:39:35 +00:00
|
|
|
%tmp = icmp sgt i32 %N, 0 ; <i1> [#uses=1]
|
|
|
|
br i1 %tmp, label %bb519, label %bb744
|
2006-11-22 23:49:16 +00:00
|
|
|
bb519: ; preds = %entry
|
2008-03-19 05:39:35 +00:00
|
|
|
%tmp720101 = icmp slt i32 %N, 0 ; <i1> [#uses=1]
|
|
|
|
br i1 %tmp720101, label %bb744, label %bb744
|
|
|
|
bb744: ; preds = %bb519, %bb519, %entry
|
2006-11-22 23:49:16 +00:00
|
|
|
ret void
|
|
|
|
}
|
2008-03-19 05:39:35 +00:00
|
|
|
|