[PATCH] D138109: [clang] Fix -fp-model={strict|precise} to disable -fapprox-func

Zahira Ammarguellat via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 16 08:08:03 PST 2022


zahiraam added inline comments.


================
Comment at: clang/test/Driver/fp-model.c:162
+// CHECK-FASTMATH-FPM-STRICT-NOT: "-ffast-math"
+// CHECK-FASTMATH-FPM-STRICT-NOT: "-ffinite-math-only"
----------------
Shouldn't be worth adding a rule for -ffast-math and ffp-model=fast (even if it seems redundant)?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D138109



More information about the cfe-commits mailing list