summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/Windows/hard-float.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ARM/Windows/hard-float.ll')
-rw-r--r--test/CodeGen/ARM/Windows/hard-float.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/Windows/hard-float.ll b/test/CodeGen/ARM/Windows/hard-float.ll
new file mode 100644
index 0000000000..f7b7ec273c
--- /dev/null
+++ b/test/CodeGen/ARM/Windows/hard-float.ll
@@ -0,0 +1,10 @@
+; RUN: llc -mtriple=thumbv7-windows-itanium -mcpu=cortex-a9 -o - %s | FileCheck %s
+
+define float @function(float %f, float %g) nounwind {
+entry:
+ %h = fadd float %f, %g
+ ret float %h
+}
+
+; CHECK: vadd.f32 s0, s0, s1
+