Skip to content

Commit b02bd53

Browse files
committed
[FPEnv][LangRef] Update doc for strictfp attribute
Based on the direction of IR Verifier changes in D146845, this documentation needs to be updated. Differential Revision: https://reviews.llvm.org/D148138
1 parent ce7a54a commit b02bd53

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llvm/docs/LangRef.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23467,7 +23467,9 @@ Proper :ref:`function attributes <fnattrs>` usage is required for the
2346723467
constrained intrinsics to function correctly.
2346823468

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

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

0 commit comments

Comments
 (0)