blob: cabec54d16108000f466921c6e6c12ddd4f18f21 [file] [log] [blame]
Tanya Lattner53a66d12008-02-19 01:41:04 +00001; RUN: llvm-as < %s | llc
Chris Lattner1bc33f72006-10-29 21:00:55 +00002
Tanya Lattner53a66d12008-02-19 01:41:04 +00003define void @form_component_prediction(i32 %dy) {
Chris Lattner1bc33f72006-10-29 21:00:55 +00004entry:
Tanya Lattner53a66d12008-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
Chris Lattner1bc33f72006-10-29 21:00:55 +00008
Tanya Lattner53a66d12008-02-19 01:41:04 +00009cond_next30: ; preds = %entry
10 ret void
Chris Lattner1bc33f72006-10-29 21:00:55 +000011
Tanya Lattner53a66d12008-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
Chris Lattner1bc33f72006-10-29 21:00:55 +000015
Tanya Lattner53a66d12008-02-19 01:41:04 +000016cond_next125: ; preds = %bb115
17 ret void
Chris Lattner1bc33f72006-10-29 21:00:55 +000018
Tanya Lattner53a66d12008-02-19 01:41:04 +000019bb228: ; preds = %bb115
20 ret void
Chris Lattner1bc33f72006-10-29 21:00:55 +000021}
Tanya Lattner53a66d12008-02-19 01:41:04 +000022