[llvm] 53efdf3 - Fix llvm.memset semantics description

via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 2 04:25:09 PDT 2022


Author: Guillaume Chatelet
Date: 2022-06-02T13:25:03+02:00
New Revision: 53efdf33f85ab4e11c25e6dc947a0ca8b075d25f

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

LOG: Fix llvm.memset semantics description

The description was referring to a ``src`` parameter probably copied over from ``llvm.memcpy``

Added: 
    

Modified: 
    llvm/docs/LangRef.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 81341860ca4c..77ff6b4b6362 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -13864,8 +13864,8 @@ the argument.
 If ``<len>`` is 0, it is no-op modulo the behavior of attributes attached to
 the arguments.
 If ``<len>`` is not a well-defined value, the behavior is undefined.
-If ``<len>`` is not zero, both ``<dest>`` and ``<src>`` should be well-defined,
-otherwise the behavior is undefined.
+If ``<len>`` is not zero, ``<dest>`` should be well-defined, otherwise the
+behavior is undefined.
 
 '``llvm.sqrt.*``' Intrinsic
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^


        


More information about the llvm-commits mailing list