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 | f43961007c2f61795b6fe15ba2dd7a88ff0f0439 (patch) | |
| tree | 7d0643f4f3fe8b463a0c7c10dd081a495e2e261a /llvm/lib/Target/TargetMachine.cpp | |
| parent | a8a089bfd5ae78073647a0eaa1fac844dcaf6c3f (diff) | |
| download | bcm5719-llvm-f43961007c2f61795b6fe15ba2dd7a88ff0f0439.tar.gz bcm5719-llvm-f43961007c2f61795b6fe15ba2dd7a88ff0f0439.zip | |
-enable-unsafe-fp-math should not imply -enable-finite-only-fp-math.
llvm-svn: 108254
Diffstat (limited to 'llvm/lib/Target/TargetMachine.cpp')
| -rw-r--r-- | llvm/lib/Target/TargetMachine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/TargetMachine.cpp b/llvm/lib/Target/TargetMachine.cpp index df523688c58..47c91df1400 100644 --- a/llvm/lib/Target/TargetMachine.cpp +++ b/llvm/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. |

