Home | History | Annotate | Download | only in Mips
      1 ; RUN: llc  < %s -march=mipsel -mcpu=mips32 | FileCheck %s 
      2 
      3 define float @foo0(i32 %a, float %d) nounwind readnone {
      4 entry:
      5 ; CHECK-NOT: neg.s
      6   %sub = fsub float -0.000000e+00, %d
      7   ret float %sub
      8 }
      9 
     10 define double @foo1(i32 %a, double %d) nounwind readnone {
     11 entry:
     12 ; CHECK:     foo1
     13 ; CHECK-NOT: neg.d
     14 ; CHECK:     jr
     15   %sub = fsub double -0.000000e+00, %d
     16   ret double %sub
     17 }
     18