llvm-6502/test/Transforms/LoopUnroll/2006-08-24-MultiBlockLoop.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

17 lines
529 B
LLVM

; RUN: opt < %s -loop-unroll -S | grep bb72.2
define void @vorbis_encode_noisebias_setup() {
entry:
br label %cond_true.outer
cond_true.outer: ; preds = %bb72, %entry
%indvar1.ph = phi i32 [ 0, %entry ], [ %indvar.next2, %bb72 ] ; <i32> [#uses=1]
br label %bb72
bb72: ; preds = %cond_true.outer
%indvar.next2 = add i32 %indvar1.ph, 1 ; <i32> [#uses=2]
%exitcond3 = icmp eq i32 %indvar.next2, 3 ; <i1> [#uses=1]
br i1 %exitcond3, label %cond_true138, label %cond_true.outer
cond_true138: ; preds = %bb72
ret void
}