New testcase for PR618
authorChris Lattner <sabre@nondot.org>
Tue, 23 Aug 2005 20:22:07 +0000 (20:22 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 23 Aug 2005 20:22:07 +0000 (20:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22983 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/CBackend/2005-08-23-Fmod.ll [new file with mode: 0644]

diff --git a/test/CodeGen/CBackend/2005-08-23-Fmod.ll b/test/CodeGen/CBackend/2005-08-23-Fmod.ll
new file mode 100644 (file)
index 0000000..20f05b6
--- /dev/null
@@ -0,0 +1,6 @@
+; RUN: llvm-as < %s | llc -march=c | grep fmod
+
+double %test(double %A, double %B) {
+       %C = rem double %A, %B
+       ret double %C
+}