[PATCH] D137618: [Clang] Fix behavior of -ffp-model option when overriden

Zahira Ammarguellat via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 8 05:30:19 PST 2022


zahiraam added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:2844
         FPContract = "fast";
+        FPExceptionBehavior = "";
       } else if (Val.equals("precise")) {
----------------
I would expect the same thing should happen with -ffp-model=strict -ffast-math. This change is not enough to accomplish that.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137618/new/

https://reviews.llvm.org/D137618



More information about the cfe-commits mailing list