diff options
| author | Chad Rosier <mcrosier@codeaurora.org> | 2013-12-04 17:16:36 +0000 |
|---|---|---|
| committer | Chad Rosier <mcrosier@codeaurora.org> | 2013-12-04 17:16:36 +0000 |
| commit | 1d22b5d1c08d0d67e0415157d27b13e2428330e3 (patch) | |
| tree | eabcee8d2426e220904a600eff22033df80c5716 /llvm/lib | |
| parent | 65550a5dd1b6e030207509b68379b4a3fda4f69a (diff) | |
| download | bcm5719-llvm-1d22b5d1c08d0d67e0415157d27b13e2428330e3.tar.gz bcm5719-llvm-1d22b5d1c08d0d67e0415157d27b13e2428330e3.zip | |
Update the UseFusedMAC definition to directly specify its dependence on having
VFP4.
Patch by Daniel Stewart!
llvm-svn: 196390
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMInstrInfo.td | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrInfo.td b/llvm/lib/Target/ARM/ARMInstrInfo.td index 46b95d731c8..ad500eacad0 100644 --- a/llvm/lib/Target/ARM/ARMInstrInfo.td +++ b/llvm/lib/Target/ARM/ARMInstrInfo.td @@ -275,7 +275,8 @@ def UseMulOps : Predicate<"Subtarget->useMulOps()">; // But only select them if more precision in FP computation is allowed. // Do not use them for Darwin platforms. def UseFusedMAC : Predicate<"(TM.Options.AllowFPOpFusion ==" - " FPOpFusion::Fast) && " + " FPOpFusion::Fast && " + " Subtarget->hasVFP4()) && " "!Subtarget->isTargetDarwin()">; def DontUseFusedMAC : Predicate<"!(TM.Options.AllowFPOpFusion ==" " FPOpFusion::Fast &&" |

