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

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 12 16:30:03 PST 2019


rjmccall added a comment.

Currently we emit a warning if you use `-frounding-math`, saying that the option is ignored.  That should have alerted users that they're not getting the correct behavior now.  This patch removes the warning and (IIUC) implements the correct behavior but is over-conservative.  If that's correct, I think that's acceptable and we don't need an "experimental" flag or a warning.


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