Fix a latent bug exposed by my truncstore patch. We compiled stfiwx-2.ll to:
[oota-llvm.git] / test / CodeGen / PowerPC / fneg.ll
1 ; RUN: llvm-as < %s | llc -march=ppc32 | not grep fneg
2
3 define double @test1(double %a, double %b, double %c, double %d) {
4 entry:
5         %tmp2 = sub double -0.000000e+00, %c            ; <double> [#uses=1]
6         %tmp4 = mul double %tmp2, %d            ; <double> [#uses=1]
7         %tmp7 = mul double %a, %b               ; <double> [#uses=1]
8         %tmp9 = sub double %tmp7, %tmp4         ; <double> [#uses=1]
9         ret double %tmp9
10 }
11
12