aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/Mips/mips64-call.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Mips/mips64-call.ll')
-rw-r--r--test/CodeGen/Mips/mips64-call.ll13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CodeGen/Mips/mips64-call.ll b/test/CodeGen/Mips/mips64-call.ll
new file mode 100644
index 0000000000..7808ac3cc0
--- /dev/null
+++ b/test/CodeGen/Mips/mips64-call.ll
@@ -0,0 +1,13 @@
+; RUN: llc -march=mips64el -mcpu=mips64r2 < %s | FileCheck %s
+
+@gld0 = external global fp128
+
+; CHECK: foo0
+; CHECK: sdc1 $f13, 8(${{[0-9]+}})
+; CHECK: sdc1 $f12, 0(${{[0-9]+}})
+
+define void @foo0(fp128 %a0) {
+entry:
+ store fp128 %a0, fp128* @gld0, align 16
+ ret void
+}