[clang] [CLANG] Add warning when comparing to INF or NAN in fast math mode. (PR #76873)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 4 10:42:29 PST 2024


https://github.com/andykaylor commented:

Expanding the scope a bit, it would also be useful to have warnings for constant NaN or Inf values passed as arguments or used in binary operations.

https://github.com/llvm/llvm-project/pull/76873


More information about the cfe-commits mailing list