llvm-project/llvm/test/Transforms/CodeExtractor/2004-03-17-UpdatePHIsOutsid...

24 lines
706 B
LLVM
Raw Normal View History

; RUN: opt < %s -loop-extract -disable-output
2004-03-18 13:33:39 +08:00
define void @maketree() {
2004-03-18 13:33:39 +08:00
entry:
br i1 false, label %no_exit.1, label %loopexit.0
2004-03-18 13:33:39 +08:00
no_exit.1: ; preds = %endif, %expandbox.entry, %entry
br i1 false, label %endif, label %expandbox.entry
2004-03-18 13:33:39 +08:00
expandbox.entry: ; preds = %no_exit.1
br i1 false, label %loopexit.1, label %no_exit.1
2004-03-18 13:33:39 +08:00
endif: ; preds = %no_exit.1
br i1 false, label %loopexit.1, label %no_exit.1
2004-03-18 13:33:39 +08:00
loopexit.1: ; preds = %endif, %expandbox.entry
%ic.i.0.0.4 = phi i32 [ 0, %expandbox.entry ], [ 0, %endif ] ; <i32> [#uses=0]
ret void
2004-03-18 13:33:39 +08:00
loopexit.0: ; preds = %entry
ret void
2004-03-18 13:33:39 +08:00
}