Skip to content

Commit 0412d71

Browse files
authored
[llvm][doc] Fix return type of vector.histogram in LangRef examples (NFC) (#113172)
The `@llvm.experimental.vector.histogram.add` returns void.
1 parent 7305734 commit 0412d71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/docs/LangRef.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19925,8 +19925,8 @@ More update operation types may be added in the future.
1992519925

1992619926
::
1992719927

19928-
declare <8 x i32> @llvm.experimental.vector.histogram.add.v8p0.i32(<8 x ptr> %ptrs, i32 %inc, <8 x i1> %mask)
19929-
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)
19928+
declare void @llvm.experimental.vector.histogram.add.v8p0.i32(<8 x ptr> %ptrs, i32 %inc, <8 x i1> %mask)
19929+
declare void @llvm.experimental.vector.histogram.add.nxv2p0.i64(<vscale x 2 x ptr> %ptrs, i64 %inc, <vscale x 2 x i1> %mask)
1993019930

1993119931
Arguments:
1993219932
""""""""""

0 commit comments

Comments
 (0)