Re-land [openmp] Fix warnings when building on Windows with latest MSVC or Clang...
[llvm-project.git] / llvm / test / CodeGen / MSP430 / 2010-05-01-CombinerAnd.ll
blob907d6abe992121498d3a4bf6d393ea53ef3992ff
1 ; RUN: llc < %s
2 ; PR7001
4 target datalayout = "e-p:16:16:16-i8:8:8-i16:16:16-i32:16:32-n8:16"
5 target triple = "msp430-elf"
7 define i16 @main() nounwind {
8 entry:
9   br label %while.cond
11 while.cond:                                       ; preds = %while.body, %entry
12   br i1 undef, label %land.rhs, label %land.end
14 land.rhs:                                         ; preds = %while.cond
15   br label %land.end
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
21 while.body:                                       ; preds = %land.end
22   %tmp4 = load i16, i16* undef                         ; <i16> [#uses=0]
23   br label %while.cond
25 while.end:                                        ; preds = %land.end
26   ret i16 undef