[PATCH] D74436: Change clang option -ffp-model=precise to select ffp-contract=on

Melanie Blower via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 13 15:18:59 PST 2020


mibintc added a comment.

@jsji Will your backend tolerate -ffp-contract=on if optimizations are not disabled, e.g. -O2?  We are proposing that the default floating point model be -ffp-model=precise, and with precise model, the ffp-contract=on. However you are right we don't want the frontend to create FMA when optimizations are disabled -O0


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74436





More information about the cfe-commits mailing list