[clang] [NFC] Refactor fast-math handling for clang driver (PR #81173)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 8 11:06:12 PST 2024


================
@@ -3061,22 +3080,7 @@ static void RenderFloatingPointOptions(const ToolChain &TC, const Driver &D,
         continue;
       [[fallthrough]];
----------------
andykaylor wrote:

This is falling through from OPT_Ofast to OPT_ffast_math. I think we still want that to happen. It's not obvious from the diff, but the "fp-model" handler and the "ffast-math" handler are in different switch statements.

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


More information about the cfe-commits mailing list