diff options
author | Michael Maitland <michaeltmaitland@gmail.com> | 2024-03-12 20:22:49 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-12 20:22:49 -0400 |
commit | 2f400a2fd77b44d34281792aca84c42e149095e7 (patch) | |
tree | aad32b5b9b2e34b886b3abd888ab43c2e46138fa /llvm/docs/GlobalISel/GenericOpcode.rst | |
parent | e2468bf16a0c1f63a39aa417c15c03ebd77fab9e (diff) | |
download | llvm-2f400a2fd77b44d34281792aca84c42e149095e7.zip llvm-2f400a2fd77b44d34281792aca84c42e149095e7.tar.gz llvm-2f400a2fd77b44d34281792aca84c42e149095e7.tar.bz2 |
[GISEL] Add G_VSCALE instruction (#84542)
Diffstat (limited to 'llvm/docs/GlobalISel/GenericOpcode.rst')
-rw-r--r-- | llvm/docs/GlobalISel/GenericOpcode.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/docs/GlobalISel/GenericOpcode.rst b/llvm/docs/GlobalISel/GenericOpcode.rst index f9f9e11..bf1b3cb 100644 --- a/llvm/docs/GlobalISel/GenericOpcode.rst +++ b/llvm/docs/GlobalISel/GenericOpcode.rst @@ -607,6 +607,17 @@ See the LLVM LangRef entry on '``llvm.lround.*'`` for details on behaviour. Vector Specific Operations -------------------------- +G_VSCALE +^^^^^^^^ + +Puts the value of the runtime ``vscale`` multiplied by the value in the source +operand into the destination register. This can be useful in determining the +actual runtime number of elements in a vector. + +.. code-block:: + + %0:_(s32) = G_VSCALE 4 + G_INSERT_SUBVECTOR ^^^^^^^^^^^^^^^^^^ |