In some rare cases, the register allocator can spill registers but end up not utilizi...
[llvm/msp430.git] / test / CodeGen / Generic / 2006-10-29-Crash.ll
blobcabec54d16108000f466921c6e6c12ddd4f18f21
1 ; RUN: llvm-as < %s | llc
3 define void @form_component_prediction(i32 %dy) {
4 entry:
5         %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
9 cond_next30:            ; preds = %entry
10         ret void
12 bb115:          ; preds = %entry
13         %bothcond1 = or i1 %tmp27, false                ; <i1> [#uses=1]
14         br i1 %bothcond1, label %bb228, label %cond_next125
16 cond_next125:           ; preds = %bb115
17         ret void
19 bb228:          ; preds = %bb115
20         ret void