[llvm] 0412d71 - [llvm][doc] Fix return type of `vector.histogram` in LangRef examples (NFC) (#113172)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 22 01:36:25 PDT 2024
Author: Benjamin Maxwell
Date: 2024-10-22T09:36:20+01:00
New Revision: 0412d719283a5b6af283a74ab2694202664b6241
URL: https://github.com/llvm/llvm-project/commit/0412d719283a5b6af283a74ab2694202664b6241
DIFF: https://github.com/llvm/llvm-project/commit/0412d719283a5b6af283a74ab2694202664b6241.diff
LOG: [llvm][doc] Fix return type of `vector.histogram` in LangRef examples (NFC) (#113172)
The `@llvm.experimental.vector.histogram.add` returns void.
Added:
Modified:
llvm/docs/LangRef.rst
Removed:
################################################################################
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:
""""""""""
More information about the llvm-commits
mailing list