summaryrefslogtreecommitdiff
path: root/test/CodeGen/Mips/brdelayslot.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Mips/brdelayslot.ll')
-rw-r--r--test/CodeGen/Mips/brdelayslot.ll13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CodeGen/Mips/brdelayslot.ll b/test/CodeGen/Mips/brdelayslot.ll
index 897fc9768f..c3f483ae8e 100644
--- a/test/CodeGen/Mips/brdelayslot.ll
+++ b/test/CodeGen/Mips/brdelayslot.ll
@@ -67,3 +67,16 @@ if.end:
ret void
}
+; Check that delay slot filler can place mov.s or mov.d in delay slot.
+;
+; Default: foo6:
+; Default-NOT: nop
+
+define void @foo6(float %a0, double %a1) nounwind {
+entry:
+ tail call void @foo7(double %a1, float %a0) nounwind
+ ret void
+}
+
+declare void @foo7(double, float)
+