• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: opt < %s -loop-extract -disable-output
2
3define void @maketree() {
4entry:
5        br i1 false, label %no_exit.1, label %loopexit.0
6
7no_exit.1:              ; preds = %endif, %expandbox.entry, %entry
8        br i1 false, label %endif, label %expandbox.entry
9
10expandbox.entry:                ; preds = %no_exit.1
11        br i1 false, label %loopexit.1, label %no_exit.1
12
13endif:          ; preds = %no_exit.1
14        br i1 false, label %loopexit.1, label %no_exit.1
15
16loopexit.1:             ; preds = %endif, %expandbox.entry
17        %ic.i.0.0.4 = phi i32 [ 0, %expandbox.entry ], [ 0, %endif ]            ; <i32> [#uses=0]
18        ret void
19
20loopexit.0:             ; preds = %entry
21        ret void
22}
23
24