diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-07-13 18:46:14 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-07-13 18:46:14 +0000 |
commit | ea4cdb7ead622392640fd2f804b451bbc61364b3 (patch) | |
tree | 1fdcd90894ee8ebb2ea721a3520a846fd846427f /lib/Target/TargetMachine.cpp | |
parent | f0193ed8decb2e78d8d5ec4a4eaeed8f3036bf6e (diff) | |
download | external_llvm-ea4cdb7ead622392640fd2f804b451bbc61364b3.tar.gz external_llvm-ea4cdb7ead622392640fd2f804b451bbc61364b3.tar.bz2 external_llvm-ea4cdb7ead622392640fd2f804b451bbc61364b3.zip |
-enable-unsafe-fp-math should not imply -enable-finite-only-fp-math.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108254 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetMachine.cpp')
-rw-r--r-- | lib/Target/TargetMachine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/TargetMachine.cpp b/lib/Target/TargetMachine.cpp index df523688c5..47c91df140 100644 --- a/lib/Target/TargetMachine.cpp +++ b/lib/Target/TargetMachine.cpp @@ -294,7 +294,7 @@ namespace llvm { /// option is specified on the command line. If this returns false (default), /// the code generator is not allowed to assume that FP arithmetic arguments /// and results are never NaNs or +-Infs. - bool FiniteOnlyFPMath() { return UnsafeFPMath || FiniteOnlyFPMathOption; } + bool FiniteOnlyFPMath() { return FiniteOnlyFPMathOption; } /// HonorSignDependentRoundingFPMath - Return true if the codegen must assume /// that the rounding mode of the FPU can change from its default. |