[clang] Clean up denormal handling with -ffp-model, -ffast-math, etc. (PR #89477)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 25 17:50:55 PDT 2024


================
@@ -75,6 +76,7 @@
 // RUN:   --check-prefix=WARN12 %s
 // RUN: %clang -### -ffast-math -ffp-model=strict -c %s 2>&1 | FileCheck \
 // RUN:   --check-prefix=WARN12 %s
+// WARN12: clang
----------------
MaskRay wrote:

`clang` is unneeded. For diagnostics or -cc1 options, we just avoid check `clang` before `-cc1` since `clang` carries very little weight

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


More information about the cfe-commits mailing list