llvm-6502/test/Transforms/LoopRotate/PhiSelfRefernce-1.ll
Dan Gohman f2f6ce65b7 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81537 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-11 18:01:28 +00:00

40 lines
853 B
LLVM

; RUN: opt < %s -loop-rotate -disable-output
; ModuleID = 'PhiSelfRefernce-1.bc'
define void @snrm2(i32 %incx) {
entry:
br i1 false, label %START, label %return
START: ; preds = %entry
br i1 false, label %bb85, label %cond_false93
bb52: ; preds = %bb85
br i1 false, label %bb307, label %cond_next71
cond_next71: ; preds = %bb52
ret void
bb85: ; preds = %START
br i1 false, label %bb52, label %bb88
bb88: ; preds = %bb85
ret void
cond_false93: ; preds = %START
ret void
bb243: ; preds = %bb307
br label %bb307
bb307: ; preds = %bb243, %bb52
%sx_addr.2.pn = phi float* [ %sx_addr.5, %bb243 ], [ null, %bb52 ] ; <float*> [#uses=1]
%sx_addr.5 = getelementptr float* %sx_addr.2.pn, i32 %incx ; <float*> [#uses=1]
br i1 false, label %bb243, label %bb310
bb310: ; preds = %bb307
ret void
return: ; preds = %entry
ret void
}