[llvm] [Docs][Intrisics] Fix the name of llvm.memset.inline in the documentation (PR #180373)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 7 14:12:06 PST 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-ir
Author: Nicolas IOOSS (niooss-ledger)
<details>
<summary>Changes</summary>
LLVM intrinsic `llvm.memset.inline` indicates in its name the types of the destination pointer and the size. There is no second pointer.
Moreover, the tests are already verifying that generated code uses `@<!-- -->llvm.memset.inline.p0.i32` and `@<!-- -->llvm.memset.inline.p0.i64`. So make the documentation reference these names as well.
Fixes: https://github.com/llvm/llvm-project/issues/163454
---
Full diff: https://github.com/llvm/llvm-project/pull/180373.diff
1 Files Affected:
- (modified) llvm/docs/LangRef.rst (+4-4)
``````````diff
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 38a2527da0816..28edd439b6900 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -16385,10 +16385,10 @@ support all bit widths however.
::
- declare void @llvm.memset.inline.p0.p0i8.i32(ptr <dest>, i8 <val>,
- i32 <len>, i1 <isvolatile>)
- declare void @llvm.memset.inline.p0.p0.i64(ptr <dest>, i8 <val>,
- i64 <len>, i1 <isvolatile>)
+ declare void @llvm.memset.inline.p0.i32(ptr <dest>, i8 <val>,
+ i32 <len>, i1 <isvolatile>)
+ declare void @llvm.memset.inline.p0.i64(ptr <dest>, i8 <val>,
+ i64 <len>, i1 <isvolatile>)
Overview:
"""""""""
``````````
</details>
https://github.com/llvm/llvm-project/pull/180373
More information about the llvm-commits
mailing list