llvm/test/CodeGen/Mips/frem.ll
Akira Hatanaka 21ecc2f4ed Expand FREM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153671 91177308-0d34-0410-b5e6-96231b3b80d8
2012-03-29 18:43:11 +00:00

14 lines
220 B
LLVM

; 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
}