[PATCH] D69312: [FPEnv] Teach the IRBuilder about correct use of the strictfp attribute.

Kevin P. Neal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 23 06:17:00 PDT 2019


kpn added a comment.

In D69312#1718371 <https://reviews.llvm.org/D69312#1718371>, @rjmccall wrote:

> What does the call attribute mean?


There's some description of it in D67839 <https://reviews.llvm.org/D67839>. From digging through my email archives I also found this:

On 31 August 2017 at 15:28, Kaylor, Andrew via cfe-dev <
cfe-dev at lists.llvm.org> wrote:

> I would not that when I added the strictfp attribute, I intended that the
>  front end would attach this attribute to the callsite of all function calls
>  within a scope that required strict floating point semantics.  It was
>  supposed to be a way of preventing calls to libm functions from being
>  optimized as LibFunc calls without the front end needing to know which
>  functions could be processed that way.

Plus, there's been some discussion of how strictfp on callsites would provide info needed when lowering architecture-specific intrinsics.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69312





More information about the llvm-commits mailing list