diff options
author | Eric Christopher <echristo@gmail.com> | 2017-03-17 00:38:03 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2017-03-17 00:38:03 +0000 |
commit | 53da761570a219ab0e39223739fe72c02bb62818 (patch) | |
tree | ad15cfcde81a5dd78de724b81268579a0c01d515 /llvm/lib/CodeGen/TargetOptionsImpl.cpp | |
parent | 2be653f7166356d11902d54d27938805d6e738dd (diff) | |
download | bcm5719-llvm-53da761570a219ab0e39223739fe72c02bb62818.tar.gz bcm5719-llvm-53da761570a219ab0e39223739fe72c02bb62818.zip |
Remove LessPreciseFPMADOption from TargetOptions along with all of the
associated command line options and functions - it's currently unused
in all of llvm and clang other than being set and reset.
llvm-svn: 298023
Diffstat (limited to 'llvm/lib/CodeGen/TargetOptionsImpl.cpp')
-rw-r--r-- | llvm/lib/CodeGen/TargetOptionsImpl.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/CodeGen/TargetOptionsImpl.cpp b/llvm/lib/CodeGen/TargetOptionsImpl.cpp index b6da8e0aa60..c20d5ab814f 100644 --- a/llvm/lib/CodeGen/TargetOptionsImpl.cpp +++ b/llvm/lib/CodeGen/TargetOptionsImpl.cpp @@ -34,14 +34,6 @@ bool TargetOptions::DisableFramePointerElim(const MachineFunction &MF) const { return false; } -/// LessPreciseFPMAD - This flag return true when -enable-fp-mad option -/// is specified on the command line. When this flag is off(default), the -/// code generator is not allowed to generate mad (multiply add) if the -/// result is "less precise" than doing those operations individually. -bool TargetOptions::LessPreciseFPMAD() const { - return UnsafeFPMath || LessPreciseFPMADOption; -} - /// HonorSignDependentRoundingFPMath - Return true if the codegen must assume /// that the rounding mode of the FPU can change from its default. bool TargetOptions::HonorSignDependentRoundingFPMath() const { |