Allow generation of vmla.f32 instructions when targeting Cortex-A15. The patch also...
[oota-llvm.git] / lib / Target / ARM / ARMInstrInfo.td
index f543e5d7ee87cfe9d339746f2fe9db897a77fbaf..c2434023f8f2f420f958dc76a186dc1f965731a4 100644 (file)
@@ -262,7 +262,9 @@ def UseMulOps        : Predicate<"Subtarget->useMulOps()">;
 def UseFusedMAC      : Predicate<"(TM.Options.AllowFPOpFusion =="
                                  " FPOpFusion::Fast) && "
                                  "!Subtarget->isTargetDarwin()">;
-def DontUseFusedMAC  : Predicate<"!Subtarget->hasVFP4() || "
+def DontUseFusedMAC  : Predicate<"!(TM.Options.AllowFPOpFusion =="
+                                 " FPOpFusion::Fast &&"
+                                 " Subtarget->hasVFP4()) || "
                                  "Subtarget->isTargetDarwin()">;
 
 // VGETLNi32 is microcoded on Swift - prefer VMOV.