[llvm] b02bd53 - [FPEnv][LangRef] Update doc for strictfp attribute

Kevin P. Neal via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 14 08:16:47 PDT 2023


Author: Kevin P. Neal
Date: 2023-04-14T11:16:15-04:00
New Revision: b02bd531d644e04428b6bbd2c1905d5659a408f7

URL: https://github.com/llvm/llvm-project/commit/b02bd531d644e04428b6bbd2c1905d5659a408f7
DIFF: https://github.com/llvm/llvm-project/commit/b02bd531d644e04428b6bbd2c1905d5659a408f7.diff

LOG: [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

Added: 
    

Modified: 
    llvm/docs/LangRef.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 77f1e1302e49..2c220a9fdad7 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -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.


        


More information about the llvm-commits mailing list