Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
[oota-llvm.git] / test / Transforms / SimplifyCFG / two-entry-phi-return.ll
1 ; RUN: opt < %s -simplifycfg -S | not grep br
2
3 define i1 @qux(i8* %m, i8* %n, i8* %o, i8* %p) nounwind  {
4 entry:
5         %tmp7 = icmp eq i8* %m, %n
6         br i1 %tmp7, label %bb, label %UnifiedReturnBlock
7
8 bb:
9         %tmp15 = icmp eq i8* %o, %p
10         br label %UnifiedReturnBlock
11
12 UnifiedReturnBlock:
13         %result = phi i1 [ 0, %entry ], [ %tmp15, %bb ]
14         ret i1 %result
15 }