aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2008-07-18 21:18:48 +0000
committerDuncan Sands <baldrick@free.fr>2008-07-18 21:18:48 +0000
commitc3e26727c18e15b64098fc7f397e09147cd78eeb (patch)
treee1b7cfe3cd860edf898cd1fbbc17a03711a41487 /test/CodeGen/ARM
parentf8ac645c59094b1165af6a06af3cc63af96a1dd9 (diff)
downloadexternal_llvm-c3e26727c18e15b64098fc7f397e09147cd78eeb.zip
external_llvm-c3e26727c18e15b64098fc7f397e09147cd78eeb.tar.gz
external_llvm-c3e26727c18e15b64098fc7f397e09147cd78eeb.tar.bz2
Softfloat support for FDIV. Patch by
Richard Pennington. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53773 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM')
-rw-r--r--test/CodeGen/ARM/2008-07-17-Fdiv.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/2008-07-17-Fdiv.ll b/test/CodeGen/ARM/2008-07-17-Fdiv.ll
new file mode 100644
index 0000000..aa75970
--- /dev/null
+++ b/test/CodeGen/ARM/2008-07-17-Fdiv.ll
@@ -0,0 +1,6 @@
+; RUN: llvm-as < %s | llc -march=arm
+
+define float @f(float %a, float %b) nounwind {
+ %tmp = fdiv float %a, %b
+ ret float %tmp
+}