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