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

27 lines
681 B
LLVM

; RUN: opt < %s -gvnpre | llvm-dis
define i32 @TreeCCStreamFlush(i8* %stream) {
entry:
br i1 false, label %bb55.preheader, label %cond_true
cond_true: ; preds = %entry
ret i32 0
bb55.preheader: ; preds = %entry
%tmp57 = icmp eq i8* null, null ; <i1> [#uses=0]
br i1 false, label %cond_next106, label %bb124
cond_next106: ; preds = %bb55.preheader
%tmp109 = load i8** null
br i1 false, label %bb124, label %bb116
bb116: ; preds = %cond_next106
ret i32 0
bb124: ; preds = %cond_next106, %bb55.preheader
%buffer.4 = phi i8* [ null, %bb55.preheader ], [ %tmp109, %cond_next106 ]
%tmp131 = icmp eq i8* %buffer.4, null
%bothcond = or i1 %tmp131, false
ret i32 0
}