llvm/llvm/test/CodeGen/Mips/frem.ll

; RUN: llc < %s -march=mipsel 

define float @fmods(float %x, float %y) {
entry:
  %r = frem float %x, %y
  ret float %r
}

define double @fmodd(double %x, double %y) {
entry:
  %r = frem double %x, %y
  ret double %r
}