Home | History | Annotate | Download | only in MSP430
      1 ; RUN: llc < %s
      2 ; PR7001
      3 
      4 target datalayout = "e-p:16:16:16-i8:8:8-i16:16:16-i32:16:32-n8:16"
      5 target triple = "msp430-elf"
      6 
      7 define i16 @main() nounwind {
      8 entry:
      9   br label %while.cond
     10 
     11 while.cond:                                       ; preds = %while.body, %entry
     12   br i1 undef, label %land.rhs, label %land.end
     13 
     14 land.rhs:                                         ; preds = %while.cond
     15   br label %land.end
     16 
     17 land.end:                                         ; preds = %land.rhs, %while.cond
     18   %0 = phi i1 [ false, %while.cond ], [ undef, %land.rhs ] ; <i1> [#uses=1]
     19   br i1 %0, label %while.body, label %while.end
     20 
     21 while.body:                                       ; preds = %land.end
     22   %tmp4 = load i16* undef                         ; <i16> [#uses=0]
     23   br label %while.cond
     24 
     25 while.end:                                        ; preds = %land.end
     26   ret i16 undef
     27 }
     28