Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
[oota-llvm.git] / test / Transforms / SimplifyCFG / HoistCode.ll
1 ; RUN: opt < %s -simplifycfg -S | not grep br
2
3 define void @foo(i1 %C, i32* %P) {
4         br i1 %C, label %T, label %F
5 T:              ; preds = %0
6         store i32 7, i32* %P
7         ret void
8 F:              ; preds = %0
9         store i32 7, i32* %P
10         ret void
11 }