1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/Transforms/CodeExtractor/2004-03-17-MissedLiveIns.ll
Dan Gohman 205b641954 Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
input filename so that opt doesn't print the input filename in the
output so that grep lines in the tests don't unintentionally match
strings in the input filename.

llvm-svn: 81537
2009-09-11 18:01:28 +00:00

48 lines
1.2 KiB
LLVM

; RUN: opt < %s -loop-extract -disable-output
define void @sendMTFValues() {
entry:
br i1 false, label %then.1, label %endif.1
then.1: ; preds = %entry
br i1 false, label %loopentry.6.preheader, label %else.0
endif.1: ; preds = %entry
ret void
else.0: ; preds = %then.1
ret void
loopentry.6.preheader: ; preds = %then.1
br i1 false, label %endif.7.preheader, label %loopexit.9
endif.7.preheader: ; preds = %loopentry.6.preheader
%tmp.183 = add i32 0, -1 ; <i32> [#uses=1]
br label %endif.7
endif.7: ; preds = %loopexit.15, %endif.7.preheader
br i1 false, label %loopentry.10, label %loopentry.12
loopentry.10: ; preds = %endif.7
br label %loopentry.12
loopentry.12: ; preds = %loopentry.10, %endif.7
%ge.2.1 = phi i32 [ 0, %loopentry.10 ], [ %tmp.183, %endif.7 ] ; <i32> [#uses=0]
br i1 false, label %loopexit.14, label %no_exit.11
no_exit.11: ; preds = %loopentry.12
ret void
loopexit.14: ; preds = %loopentry.12
br i1 false, label %loopexit.15, label %no_exit.14
no_exit.14: ; preds = %loopexit.14
ret void
loopexit.15: ; preds = %loopexit.14
br i1 false, label %endif.7, label %loopexit.9
loopexit.9: ; preds = %loopexit.15, %loopentry.6.preheader
ret void
}