[llvm] [LangRef] Replace 'the argument' with 'the first argument' in llvm.abs description. NFC (PR #97386)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 2 00:02:44 PDT 2024


================
@@ -20812,10 +20812,10 @@ 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. The fourth argument must be a constant and is a flag to indicate
+operation. The fourth operand must be a constant and is a flag to indicate
 whether the result value of the '``llvm.vp.abs``' intrinsic is a
-:ref:`poison value <poisonvalues>` if the argument is statically or dynamically
-an ``INT_MIN`` value.
+:ref:`poison value <poisonvalues>` if the first argument is statically or
+dynamically an ``INT_MIN`` value.
----------------
nikic wrote:

This description has a weird mix of operand and argument -- should probably be argument everywhere?

https://github.com/llvm/llvm-project/pull/97386


More information about the llvm-commits mailing list