1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +01:00
llvm-mirror/test/Transforms/CodeExtractor/2004-03-17-UpdatePHIsOutsideRegion.ll

24 lines
706 B
LLVM
Raw Normal View History

; RUN: opt < %s -loop-extract -disable-output
2004-03-18 06:33:39 +01:00
define void @maketree() {
2004-03-18 06:33:39 +01:00
entry:
br i1 false, label %no_exit.1, label %loopexit.0
2004-03-18 06:33:39 +01:00
no_exit.1: ; preds = %endif, %expandbox.entry, %entry
br i1 false, label %endif, label %expandbox.entry
2004-03-18 06:33:39 +01:00
expandbox.entry: ; preds = %no_exit.1
br i1 false, label %loopexit.1, label %no_exit.1
2004-03-18 06:33:39 +01:00
endif: ; preds = %no_exit.1
br i1 false, label %loopexit.1, label %no_exit.1
2004-03-18 06:33:39 +01: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 06:33:39 +01:00
loopexit.0: ; preds = %entry
ret void
2004-03-18 06:33:39 +01:00
}