Skip to content

Commit e3500ea

Browse files
authored
[LangRef] Replace 'the argument' with 'the first argument' in llvm.abs description. NFC (#97386)
Make it more clear which argument we're referring to. Similar for vp.abs.
1 parent 344228e commit e3500ea

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

llvm/docs/LangRef.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14740,16 +14740,16 @@ The return type must match the first argument type.
1474014740

1474114741
The second argument must be a constant and is a flag to indicate whether the
1474214742
result value of the '``llvm.abs``' intrinsic is a
14743-
:ref:`poison value <poisonvalues>` if the argument is statically or dynamically
14744-
an ``INT_MIN`` value.
14743+
:ref:`poison value <poisonvalues>` if the first argument is statically or
14744+
dynamically an ``INT_MIN`` value.
1474514745

1474614746
Semantics:
1474714747
""""""""""
1474814748

1474914749
The '``llvm.abs``' intrinsic returns the magnitude (always positive) of the
14750-
argument or each element of a vector argument.". If the argument is ``INT_MIN``,
14751-
then the result is also ``INT_MIN`` if ``is_int_min_poison == 0`` and
14752-
``poison`` otherwise.
14750+
first argument or each element of a vector argument.". If the first argument is
14751+
``INT_MIN``, then the result is also ``INT_MIN`` if ``is_int_min_poison == 0``
14752+
and ``poison`` otherwise.
1475314753

1475414754

1475514755
.. _int_smax:
@@ -20812,10 +20812,10 @@ Arguments:
2081220812
The first operand and the result have the same vector of integer type. The
2081320813
second operand is the vector mask and has the same number of elements as the
2081420814
result vector type. The third operand is the explicit vector length of the
20815-
operation. The fourth argument must be a constant and is a flag to indicate
20815+
operation. The fourth operand must be a constant and is a flag to indicate
2081620816
whether the result value of the '``llvm.vp.abs``' intrinsic is a
20817-
:ref:`poison value <poisonvalues>` if the argument is statically or dynamically
20818-
an ``INT_MIN`` value.
20817+
:ref:`poison value <poisonvalues>` if the first argument is statically or
20818+
dynamically an ``INT_MIN`` value.
2081920819

2082020820
Semantics:
2082120821
""""""""""

0 commit comments

Comments
 (0)