Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
[llvm/avr.git] / test / Transforms / SimplifyCFG / 2008-09-17-SpeculativeHoist.ll
blobf864184eb844eec5199fea04fe75e8dfdb9f721f
1 ; RUN: opt < %s -simplifycfg -disable-output
2 ; PR 2800
4 define void @foo() {
5 start:
6         %tmp = call i1 @bar( )          ; <i1> [#uses=4]
7         br i1 %tmp, label %brtrue, label %brfalse
9 brtrue:         ; preds = %start
10         %tmpnew = and i1 %tmp, %tmp             ; <i1> [#uses=1]
11         br label %brfalse
13 brfalse:                ; preds = %brtrue, %start
14         %andandtmp.0 = phi i1 [ %tmp, %start ], [ %tmpnew, %brtrue ]            ; <i1> [#uses=0]
15         ret void
18 declare i1 @bar()