aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2024-07-02 09:26:54 -0700
committerGitHub <noreply@github.com>2024-07-02 09:26:54 -0700
commite414bf9fffcb9b6010c7eb08406696a9de931d66 (patch)
tree519686a1623306105b7229ea467ff7fdf0d0ccbd /llvm/docs
parente3500ea48868651b3d1ef79a7f6a57d45877414a (diff)
downloadllvm-e414bf9fffcb9b6010c7eb08406696a9de931d66.zip
llvm-e414bf9fffcb9b6010c7eb08406696a9de931d66.tar.gz
llvm-e414bf9fffcb9b6010c7eb08406696a9de931d66.tar.bz2
[LangRef] Document the fourth operand for vp.cttz/ctlz. NFC (#97387)
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/LangRef.rst8
1 files changed, 6 insertions, 2 deletions
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 426f56d..b6f8a249 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -24503,7 +24503,9 @@ Arguments:
The first operand and the result have the same vector of integer type. The
second operand is the vector mask and has the same number of elements as the
result vector type. The third operand is the explicit vector length of the
-operation.
+operation. The fourth operand is a constant flag that indicates whether the
+intrinsic returns a valid result if the first operand is zero. If the first
+operand is zero and the fourth operand is true, the result is poison.
Semantics:
""""""""""
@@ -24550,7 +24552,9 @@ Arguments:
The first operand and the result have the same vector of integer type. The
second operand is the vector mask and has the same number of elements as the
result vector type. The third operand is the explicit vector length of the
-operation.
+operation. The fourth operand is a constant flag that indicates whether the
+intrinsic returns a valid result if the first operand is zero. If the first
+operand is zero and the fourth operand is true, the result is poison.
Semantics:
""""""""""