llvm-6502/test/Transforms/GVNPRE/2007-06-15-Looping.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

23 lines
592 B
LLVM

; RUN: opt < %s -gvnpre | llvm-dis
define fastcc void @compute_max_score_1() {
entry:
%tmp7 = sub i32 0, 0 ; <i32> [#uses=0]
br label %bb
bb: ; preds = %bb212, %entry
%indvar29 = phi i32 [ 0, %entry ], [ %indvar.next30, %bb212 ] ; <i32> [#uses=2]
%j.01.0 = sub i32 %indvar29, 0 ; <i32> [#uses=0]
br label %cond_next166
cond_next166: ; preds = %cond_next166, %bb
br i1 false, label %bb212, label %cond_next166
bb212: ; preds = %cond_next166
%indvar.next30 = add i32 %indvar29, 1 ; <i32> [#uses=1]
br i1 false, label %return, label %bb
return: ; preds = %bb212
ret void
}