aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/SPARC/missing-sret.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/SPARC/missing-sret.ll')
-rw-r--r--test/CodeGen/SPARC/missing-sret.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/SPARC/missing-sret.ll b/test/CodeGen/SPARC/missing-sret.ll
new file mode 100644
index 000000000000..683d840bd250
--- /dev/null
+++ b/test/CodeGen/SPARC/missing-sret.ll
@@ -0,0 +1,9 @@
+; RUN: llc -march=sparc -filetype=obj < %s > /dev/null 2> %t2
+
+define void @mul_double_cc({ double, double }* noalias sret %agg.result, double %a, double %b, double %c, double %d) {
+entry:
+ call void @__muldc3({ double, double }* sret %agg.result, double %a, double %b, double %c, double %d)
+ ret void
+}
+
+declare void @__muldc3({ double, double }*, double, double, double, double)