diff options
| author | Akira Hatanaka <ahatanaka@mips.com> | 2012-03-29 18:43:11 +0000 |
|---|---|---|
| committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-03-29 18:43:11 +0000 |
| commit | 21ecc2f4edbbc2c4ec1c2e2c87dc5a5ee6f58a68 (patch) | |
| tree | c1f707a0f674205b17bff12565cb42ec99e794c3 /test/CodeGen/Mips | |
| parent | c6a96ff6aeeb77e1007364e5603b72f3ab4cc7bd (diff) | |
Expand FREM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153671 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Mips')
| -rw-r--r-- | test/CodeGen/Mips/frem.ll | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CodeGen/Mips/frem.ll b/test/CodeGen/Mips/frem.ll new file mode 100644 index 0000000000..be222b2d91 --- /dev/null +++ b/test/CodeGen/Mips/frem.ll @@ -0,0 +1,13 @@ +; 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 +} |
