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

Zahira Ammarguellat via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 5 13:57:49 PST 2024


zahiraam wrote:

> 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.

Added that.

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


More information about the cfe-commits mailing list