blob: cabec54d16108000f466921c6e6c12ddd4f18f21 [file] [log] [blame]
Tanya Lattnerf28e0ce2008-02-19 01:41:04 +00001; RUN: llvm-as < %s | llc
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002
Tanya Lattnerf28e0ce2008-02-19 01:41:04 +00003define void @form_component_prediction(i32 %dy) {
Dan Gohmanf17a25c2007-07-18 16:29:46 +00004entry:
Tanya Lattnerf28e0ce2008-02-19 01:41:04 +00005 %tmp7 = and i32 %dy, 1 ; <i32> [#uses=1]
6 %tmp27 = icmp eq i32 %tmp7, 0 ; <i1> [#uses=1]
7 br i1 false, label %cond_next30, label %bb115
Dan Gohmanf17a25c2007-07-18 16:29:46 +00008
Tanya Lattnerf28e0ce2008-02-19 01:41:04 +00009cond_next30: ; preds = %entry
10 ret void
Dan Gohmanf17a25c2007-07-18 16:29:46 +000011
Tanya Lattnerf28e0ce2008-02-19 01:41:04 +000012bb115: ; preds = %entry
13 %bothcond1 = or i1 %tmp27, false ; <i1> [#uses=1]
14 br i1 %bothcond1, label %bb228, label %cond_next125
Dan Gohmanf17a25c2007-07-18 16:29:46 +000015
Tanya Lattnerf28e0ce2008-02-19 01:41:04 +000016cond_next125: ; preds = %bb115
17 ret void
Dan Gohmanf17a25c2007-07-18 16:29:46 +000018
Tanya Lattnerf28e0ce2008-02-19 01:41:04 +000019bb228: ; preds = %bb115
20 ret void
Dan Gohmanf17a25c2007-07-18 16:29:46 +000021}
Tanya Lattnerf28e0ce2008-02-19 01:41:04 +000022