[all-commits] [llvm/llvm-project] c9c91f: Remove FiniteMathOnly and use only NoHonorINFs an...
Zahira Ammarguellat via All-commits
all-commits at lists.llvm.org
Fri Jul 26 05:16:59 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c9c91f59c318e28d884e5762f303348ba5724d21
https://github.com/llvm/llvm-project/commit/c9c91f59c318e28d884e5762f303348ba5724d21
Author: Zahira Ammarguellat <zahira.ammarguellat at intel.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M clang/include/clang/Basic/LangOptions.def
M clang/include/clang/Driver/Options.td
M clang/lib/Basic/LangOptions.cpp
M clang/lib/Basic/Targets/OSTargets.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Frontend/InitPreprocessor.cpp
M clang/test/CodeGen/finite-math.c
M clang/test/CodeGen/fp-floatcontrol-stack.cpp
M clang/test/CodeGen/fp-options-to-fast-math-flags.c
M clang/test/CodeGen/nofpclass.c
M clang/test/CodeGenOpenCL/relaxed-fpmath.cl
M clang/test/Driver/opencl.cl
M clang/test/Headers/__clang_hip_cmath.hip
M clang/test/Headers/__clang_hip_math.hip
M clang/test/Headers/float.c
M clang/test/Preprocessor/predefined-macros.c
M clang/test/Sema/warn-infinity-nan-disabled-lnx.cpp
M clang/test/Sema/warn-infinity-nan-disabled-win.cpp
Log Message:
-----------
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`.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list