[PATCH] D124861: Correct off-by-one error in the LangRef bitreverse intrinsic semantics
David Kreitzer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 3 09:47:01 PDT 2022
dkreitzer created this revision.
dkreitzer added reviewers: RKSimon, spatel.
Herald added a subscriber: jdoerfert.
Herald added a project: All.
dkreitzer requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Should be pretty obvious.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D124861
Files:
llvm/docs/LangRef.rst
Index: llvm/docs/LangRef.rst
===================================================================
--- llvm/docs/LangRef.rst
+++ llvm/docs/LangRef.rst
@@ -14945,7 +14945,7 @@
""""""""""
The ``llvm.bitreverse.iN`` intrinsic returns an iN value that has bit
-``M`` in the input moved to bit ``N-M`` in the output. The vector
+``M`` in the input moved to bit ``N-M-1`` in the output. The vector
intrinsics, such as ``llvm.bitreverse.v4i32``, operate on a per-element
basis and the element order is not affected.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124861.426746.patch
Type: text/x-patch
Size: 515 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220503/14f03f09/attachment.bin>
More information about the llvm-commits
mailing list