[clang] Check for comparisons to INF and NaN when in ffast-math mode (PR #76862)

2024-01-03 Thread Zahira Ammarguellat via cfe-commits
https://github.com/zahiraam closed https://github.com/llvm/llvm-project/pull/76862 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Check for comparisons to INF and NaN when in ffast-math mode (PR #76862)

2024-01-03 Thread Zahira Ammarguellat via cfe-commits
https://github.com/zahiraam updated https://github.com/llvm/llvm-project/pull/76862 >From 55ee9ac2d36c1485573aa5e291e5867e8f1d5099 Mon Sep 17 00:00:00 2001 From: Ammarguellat Date: Wed, 3 Jan 2024 12:41:44 -0800 Subject: [PATCH 1/2] Check for comparisons to INF and NaN when in ffast-math mode

[clang] Check for comparisons to INF and NaN when in ffast-math mode (PR #76862)

2024-01-03 Thread Zahira Ammarguellat via cfe-commits
https://github.com/zahiraam created https://github.com/llvm/llvm-project/pull/76862 and generate a warning. >From 55ee9ac2d36c1485573aa5e291e5867e8f1d5099 Mon Sep 17 00:00:00 2001 From: Ammarguellat Date: Wed, 3 Jan 2024 12:41:44 -0800 Subject: [PATCH] Check for comparisons to INF and NaN when