llvm/test/Transforms/LoopUnroll/2006-08-24-MultiBlockLoop.ll
Reid Spencer eb1d74e0c8 For PR1319:
Remove && from the end of the lines to prevent tests from throwing run
lines into the background. Also, clean up places where the same command
is run multiple times by using a temporary file.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36142 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 17:36:08 +00:00

19 lines
434 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | opt -loop-unroll | llvm-dis | grep bb72.2
void %vorbis_encode_noisebias_setup() {
entry:
br label %cond_true.outer
cond_true.outer:
%indvar1.ph = phi uint [ 0, %entry ], [ %indvar.next2, %bb72 ]
br label %bb72
bb72:
%indvar.next2 = add uint %indvar1.ph, 1
%exitcond3 = seteq uint %indvar.next2, 3
br bool %exitcond3, label %cond_true138, label %cond_true.outer
cond_true138:
ret void
}