[llvm] [GlobalISel] Add G_STEP_VECTOR instruction (PR #115598)
Amara Emerson via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 9 14:17:27 PST 2024
Thorsten =?utf-8?q?Schütt?= <schuett at gmail.com>,
Thorsten =?utf-8?q?Schütt?= <schuett at gmail.com>,
Thorsten =?utf-8?q?Schütt?= <schuett at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/115598 at github.com>
================
@@ -753,6 +753,22 @@ The type of the operand must be equal to or larger than the vector element
type. If the operand is larger than the vector element type, the scalar is
implicitly truncated to the vector element type.
+G_STEP_VECTOR
+^^^^^^^^^^^^^
+
+Create a scalable vector where all lanes are linear sequences starting at 0
+with a given unsigned step.
+
+The type of the operand must be equal to the vector element type.
----------------
aemerson wrote:
The equivalent node for SelectionDAG also specifies the wrapping behavior.
Should also document the restriction on scalable vector dest type that the verifier is enforcing.
https://github.com/llvm/llvm-project/pull/115598
More information about the llvm-commits
mailing list