Author: Jon Roelofs Date: 2022-02-08T18:10:17-08:00 New Revision: 8440ec66f4f0f2e4f49061262648809345952bf7
URL: https://github.com/llvm/llvm-project/commit/8440ec66f4f0f2e4f49061262648809345952bf7 DIFF: https://github.com/llvm/llvm-project/commit/8440ec66f4f0f2e4f49061262648809345952bf7.diff LOG: [docs] Document -ffinite-math-only, -fhonor-{infinities,infinites,nans} Added: Modified: clang/docs/ClangCommandLineReference.rst Removed: ################################################################################ diff --git a/clang/docs/ClangCommandLineReference.rst b/clang/docs/ClangCommandLineReference.rst index 12ea688edc1a8..e4b5c1a780446 100644 --- a/clang/docs/ClangCommandLineReference.rst +++ b/clang/docs/ClangCommandLineReference.rst @@ -1725,6 +1725,8 @@ Assume all loops are finite. .. option:: -ffinite-math-only, -fno-finite-math-only +Allow floating-point optimizations that assume arguments and results are not NaNs or +-inf. This defines the \_\_FINITE\_MATH\_ONLY\_\_ preprocessor macro. + .. option:: -ffixed-point, -fno-fixed-point Enable fixed point types @@ -1805,10 +1807,14 @@ Specify that single precision floating-point divide and sqrt used in the program Use new kernel launching API for HIP -.. option:: -fhonor-infinities, -fhonor-infinites, -fno-honor-infinities +.. option:: -fhonor-infinities, -fhonor-infinites, -fno-honor-infinities, -fno-honor-infinites + +Specify that floating-point optimizations are not allowed that assume arguments and results are not +-inf. .. option:: -fhonor-nans, -fno-honor-nans +Specify that floating-point optimizations are not allowed that assume arguments and results are not NANs. + .. option:: -fhosted .. option:: -fignore-exceptions _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits