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

Jordan Rupprecht via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 17 19:42:35 PST 2019


rupprecht closed this revision.
rupprecht added a comment.

In D62731#1788902 <https://reviews.llvm.org/D62731#1788902>, @andrew.w.kaylor wrote:

> In D62731#1788838 <https://reviews.llvm.org/D62731#1788838>, @rupprecht wrote:
>
> > It seems the discussion of whether or not this is incomplete died out -- I'd prefer to assume it is incomplete if there is no consensus. Mailed D71635 <https://reviews.llvm.org/D71635> to rename `-frounding-math` to `-fexperimental-rounding-math`.
> >
> > Alternatively we could remove the warning. I still don't see a good argument for the middle ground of having it called `-frounding-math` but also generate a warning.
>
>
> It's definitely incomplete but the results will not be any worse than you get when -frounding-math is ignored.
>
> My preference would be to change the text of the warning that is issued but allow -frounding-math to be enabled by this commit without requiring an additional option.


If other reviewers agree, then let's just remove the warning. I can send a patch tomorrow unless someone else wants to do that.

> I would also very much like to see this patch re-committed. It's currently in the "approved" state. If anyone objects to this being committed, please use the "request changes" action to indicate this.

It is already re-committed. 7f9b5138470db1dc58f3bc05631284c653c9ed7a <https://reviews.llvm.org/rG7f9b5138470db1dc58f3bc05631284c653c9ed7a> reapplied it, but IIUC it was not closed in phabricator due to leading whitespace in the commit message:

  Reapply af57dbf12e54 "Add support for options -frounding-math, ftrapping-math, -ffp-model=, and -ffp-exception-behavior="
  ...
          Differential Revision: https://reviews.llvm.org/D62731

The "Differential" needs to be the first thing, whitespace cannot come before it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D62731





More information about the llvm-commits mailing list