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

KAWASHIMA Takahiro via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 16 18:32:04 PST 2022


kawashima-fj marked an inline comment as done.
kawashima-fj 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"
----------------
zahiraam wrote:
> Shouldn't be worth adding a rule for -ffast-math and ffp-model=fast (even if it seems redundant)?
`-ffast-math -ffp-model=fast` is added at line 134.


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

https://reviews.llvm.org/D138109



More information about the cfe-commits mailing list