Change these tests to feed the assembly files to opt directly, instead
[oota-llvm.git] / test / Transforms / InstCombine / or2.ll
1 ; This test makes sure that these instructions are properly eliminated.
2 ;
3 ; RUN: opt %s -instcombine | llvm-dis | grep -v xor | not grep {or }
4
5 ; PR1738
6 define i1 @test1(double %X, double %Y) {
7         %tmp9 = fcmp uno double %X, 0.000000e+00                ; <i1> [#uses=1]
8         %tmp13 = fcmp uno double %Y, 0.000000e+00               ; <i1> [#uses=1]
9         %bothcond = or i1 %tmp13, %tmp9         ; <i1> [#uses=1]
10         ret i1 %bothcond
11 }
12