[PATCH] D62731: Add support for options -frounding-math, -ftrapping-math, -ffp-model=, and -ffp-exception-behavior=, : Specify floating point behavior

Cameron McInally via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 11 15:33:33 PST 2019


cameron.mcinally added a comment.

In D62731#1779872 <https://reviews.llvm.org/D62731#1779872>, @mibintc wrote:

> In D62731#1778597 <https://reviews.llvm.org/D62731#1778597>, @michele.scandale wrote:
>
> > >> I've noticed you removed the change for `CompilerInvocation.cpp` about the initialization of the codegen option `NoTrappingMath`. Was that an accident?
>
>
> Thanks again Michele.  I'd like to get rid of Opts.NoTrappingMath, but I haven't been bold enough yet.


I don't see a problem with this, but it would be nice to make the `-f[no-]trapping-math` command line option work. GNU compatibility is good.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D62731





More information about the cfe-commits mailing list