aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorZahira Ammarguellat <zahira.ammarguellat@intel.com>2024-07-26 05:16:38 -0700
committerGitHub <noreply@github.com>2024-07-26 08:16:38 -0400
commitc9c91f59c318e28d884e5762f303348ba5724d21 (patch)
treeb5077ace99585096c7145dfe8fdea3b3265ca84d /flang/lib/Frontend/CompilerInvocation.cpp
parent844c188c7988f33e392cde06574d95dab3d0d60a (diff)
downloadllvm-c9c91f59c318e28d884e5762f303348ba5724d21.zip
llvm-c9c91f59c318e28d884e5762f303348ba5724d21.tar.gz
llvm-c9c91f59c318e28d884e5762f303348ba5724d21.tar.bz2
Remove FiniteMathOnly and use only NoHonorINFs and NoHonorNANs. (#97342)
Currently `__FINITE_MATH_ONLY__` is set when `FiniteMathOnly`. And `FiniteMathOnly` is set when `NoHonorInfs` && `NoHonorNans` is true. But what happens one of the latter flags is false? To avoid potential inconsistencies, the internal option `FiniteMathOnly` is removed option and the macro `__FINITE_MATH_ONLY__` is set when `NoHonorInfs` && `NoHonorNans`.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions