; RUN: llc  < %s -march=mipsel -mcpu=mips32 | FileCheck %s -check-prefix=NAN
; RUN: llc  < %s -march=mipsel -mcpu=mips32 -enable-no-nans-fp-math | FileCheck %s -check-prefix=NO-NAN

define float @foo0(i32 %a, float %d) nounwind readnone {
entry:
; CHECK-NOT: neg.s
  %sub = fsub float -0.000000e+00, %d
  ret float %sub
}

define double @foo1(i32 %a, double %d) nounwind readnone {
entry:
; CHECK:     foo1
; CHECK-NOT: neg.d
; CHECK:     jr
  %sub = fsub double -0.000000e+00, %d
  ret double %sub
}

; RUN: llc  < %s -march=mipsel -mcpu=mips32 | FileCheck %s 

define float @foo0(i32 %a, float %d) nounwind readnone {
entry:
; CHECK-NOT: neg.s
  %sub = fsub float -0.000000e+00, %d
  ret float %sub
}

define double @foo1(i32 %a, double %d) nounwind readnone {
entry:
; CHECK:     foo1
; CHECK-NOT: neg.d
; CHECK:     jr
  %sub = fsub double -0.000000e+00, %d
  ret double %sub
}

Revert changes that were accidentally committed.
Revert changes that were accidentally committed.



git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@154563 91177308-0d34-0410-b5e6-96231b3b80d8
