summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetOptionsImpl.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2017-03-17 00:38:03 +0000
committerEric Christopher <echristo@gmail.com>2017-03-17 00:38:03 +0000
commit53da761570a219ab0e39223739fe72c02bb62818 (patch)
treead15cfcde81a5dd78de724b81268579a0c01d515 /llvm/lib/CodeGen/TargetOptionsImpl.cpp
parent2be653f7166356d11902d54d27938805d6e738dd (diff)
downloadbcm5719-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.cpp8
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 {
OpenPOWER on IntegriCloud