[llvm] [llvm][doc] Fix return type `vector.histogram` in LangRef examples (NFC) (PR #113172)

via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 21 07:57:40 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-llvm-ir

Author: Benjamin Maxwell (MacDue)

<details>
<summary>Changes</summary>

The `@<!-- -->llvm.experimental.vector.histogram.add` returns void.

---
Full diff: https://github.com/llvm/llvm-project/pull/113172.diff


1 Files Affected:

- (modified) llvm/docs/LangRef.rst (+2-2) 


``````````diff
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 566d0d4e4e81a3..b83675c6ed97aa 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -19925,8 +19925,8 @@ More update operation types may be added in the future.
 
 ::
 
-    declare <8 x i32> @llvm.experimental.vector.histogram.add.v8p0.i32(<8 x ptr> %ptrs, i32 %inc, <8 x i1> %mask)
-    declare <vscale x 2 x i64> @llvm.experimental.vector.histogram.add.nxv2p0.i64(<vscale x 2 x ptr> %ptrs, i64 %inc, <vscale x 2 x i1> %mask)
+    declare void @llvm.experimental.vector.histogram.add.v8p0.i32(<8 x ptr> %ptrs, i32 %inc, <8 x i1> %mask)
+    declare void @llvm.experimental.vector.histogram.add.nxv2p0.i64(<vscale x 2 x ptr> %ptrs, i64 %inc, <vscale x 2 x i1> %mask)
 
 Arguments:
 """"""""""

``````````

</details>


https://github.com/llvm/llvm-project/pull/113172


More information about the llvm-commits mailing list