Skip to content

Commit

Permalink
[FPEnv][LangRef] Update doc for strictfp attribute
Browse files Browse the repository at this point in the history
Based on the direction of IR Verifier changes in D146845, this documentation
needs to be updated.

Differential Revision: https://reviews.llvm.org/D148138
  • Loading branch information
kpneal committed Apr 14, 2023
1 parent ce7a54a commit b02bd53
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion llvm/docs/LangRef.rst
Expand Up @@ -23467,7 +23467,9 @@ Proper :ref:`function attributes <fnattrs>` usage is required for the
constrained intrinsics to function correctly.

All function *calls* done in a function that uses constrained floating
point intrinsics must have the ``strictfp`` attribute.
point intrinsics must have the ``strictfp`` attribute either on the
calling instruction or on the declaration or definition of the function
being called.

All function *definitions* that use constrained floating point intrinsics
must have the ``strictfp`` attribute.
Expand Down

0 comments on commit b02bd53

Please sign in to comment.