Implement a couple of foldings for ordered and unordered comparisons,
[oota-llvm.git] / test / Transforms / InstCombine / and2.ll
1 ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep and
2
3
4 ; PR1738
5 define i1 @test1(double %X, double %Y) {
6         %tmp9 = fcmp ord double %X, 0.000000e+00
7         %tmp13 = fcmp ord double %Y, 0.000000e+00
8         %bothcond = and i1 %tmp13, %tmp9
9         ret i1 %bothcond
10 }
11
12