Skip to content

Commit e414bf9

Browse files
authored
[LangRef] Document the fourth operand for vp.cttz/ctlz. NFC (#97387)
1 parent e3500ea commit e414bf9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

llvm/docs/LangRef.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24503,7 +24503,9 @@ Arguments:
2450324503
The first operand and the result have the same vector of integer type. The
2450424504
second operand is the vector mask and has the same number of elements as the
2450524505
result vector type. The third operand is the explicit vector length of the
24506-
operation.
24506+
operation. The fourth operand is a constant flag that indicates whether the
24507+
intrinsic returns a valid result if the first operand is zero. If the first
24508+
operand is zero and the fourth operand is true, the result is poison.
2450724509

2450824510
Semantics:
2450924511
""""""""""
@@ -24550,7 +24552,9 @@ Arguments:
2455024552
The first operand and the result have the same vector of integer type. The
2455124553
second operand is the vector mask and has the same number of elements as the
2455224554
result vector type. The third operand is the explicit vector length of the
24553-
operation.
24555+
operation. The fourth operand is a constant flag that indicates whether the
24556+
intrinsic returns a valid result if the first operand is zero. If the first
24557+
operand is zero and the fourth operand is true, the result is poison.
2455424558

2455524559
Semantics:
2455624560
""""""""""

0 commit comments

Comments
 (0)