2008-03-19 05:39:35 +00:00
|
|
|
; RUN: llvm-as < %s | opt -predsimplify -disable-output
|
2007-01-11 02:32:38 +00:00
|
|
|
|
2008-03-19 05:39:35 +00:00
|
|
|
define void @ercMarkCurrMBConcealed(i32 %comp) {
|
2007-01-11 02:32:38 +00:00
|
|
|
entry:
|
2008-03-19 05:39:35 +00:00
|
|
|
%tmp5 = icmp slt i32 %comp, 0 ; <i1> [#uses=2]
|
|
|
|
%comp_addr.0 = select i1 %tmp5, i32 0, i32 %comp ; <i32> [#uses=1]
|
|
|
|
switch i32 %comp_addr.0, label %return [
|
|
|
|
i32 0, label %bb
|
2007-01-11 02:32:38 +00:00
|
|
|
]
|
|
|
|
bb: ; preds = %entry
|
2008-03-19 05:39:35 +00:00
|
|
|
br i1 %tmp5, label %bb87.bb97_crit_edge.critedge, label %return
|
2007-01-11 02:32:38 +00:00
|
|
|
bb87.bb97_crit_edge.critedge: ; preds = %bb
|
|
|
|
ret void
|
|
|
|
return: ; preds = %bb, %entry
|
|
|
|
ret void
|
|
|
|
}
|
2008-03-19 05:39:35 +00:00
|
|
|
|