[clang] Align -ffp-model=fast denormal handling with -ffast-math (PR #89477)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 24 15:08:24 PDT 2024


================
@@ -2942,6 +2942,10 @@ static void RenderFloatingPointOptions(const ToolChain &TC, const Driver &D,
       if (Val.equals("fast")) {
         FPModel = Val;
         applyFastMath();
+        // The target-specific getDefaultDenormalModeForType handler should
+        // account for -ffp-model=fast and choose its behavior
----------------
MaskRay wrote:

Full stop.

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


More information about the cfe-commits mailing list