8857c930dd30c6c574e0e42b895e83a64322a254
[oota-llvm.git] / test / CodeGen / Generic / 2006-10-29-Crash.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | llc
2
3 void %form_component_prediction(int %dy) {
4 entry:
5         %tmp7 = and int %dy, 1          ; <int> [#uses=1]
6         %tmp27 = seteq int %tmp7, 0             ; <bool> [#uses=1]
7         br bool false, label %cond_next30, label %bb115
8
9 cond_next30:            ; preds = %entry
10         ret void
11
12 bb115:          ; preds = %entry
13         %bothcond1 = or bool %tmp27, false              ; <bool> [#uses=1]
14         br bool %bothcond1, label %bb228, label %cond_next125
15
16 cond_next125:           ; preds = %bb115
17         ret void
18
19 bb228:          ; preds = %bb115
20         ret void
21 }