[llvm] Vector masked extract last active element intrinsic (PR #113587)

Paul Walker via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 7 05:42:42 PST 2024


================
@@ -19956,6 +19956,36 @@ the follow sequence of operations:
 
 The ``mask`` operand will apply to at least the gather and scatter operations.
 
+'``llvm.experimental.vector.masked.extract.last.active``' Intrinsic
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+This is an overloaded intrinsic.
+
+This intrinsic will extract the value from a single lane of a vector, based
+on a supplied mask vector.
----------------
paulwalker-arm wrote:

This is not strictly true, but then is there any value in writing an incorrect description here when the semantics already document what the intrinsic does?

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


More information about the llvm-commits mailing list