forked from OSchip/llvm-project
Update the UseFusedMAC definition to directly specify its dependence on having
VFP4. Patch by Daniel Stewart! llvm-svn: 196390
This commit is contained in:
parent
65550a5dd1
commit
1d22b5d1c0
|
@ -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 &&"
|
||||
|
|
Loading…
Reference in New Issue