[mips] Set flag neverHasSideEffects flag on some of the floating point instructions.
[oota-llvm.git] / test / CodeGen / Mips / brdelayslot.ll
index 897fc9768f936043dbf13ab435895863755f1078..c3f483ae8e5364763545c79b3c1f337f01ba0802 100644 (file)
@@ -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)
+