[llvm] [LLVM] Add `llvm.masked.compress` intrinsic (PR #92289)
Lawrence Benson via llvm-commits
llvm-commits at lists.llvm.org
Tue May 21 08:44:54 PDT 2024
================
@@ -1294,6 +1294,11 @@ enum NodeType {
MLOAD,
MSTORE,
+ // Masked compress - consecutively place vector elements based on mask
+ // e.g., vec = {A, B, C, D} and mask = 1010
+ // --> {A, C, ?, ?} where ? is undefined
+ MCOMPRESS,
----------------
lawben wrote:
Done. Is this enough? I've followed the examples of the other instructions.
https://github.com/llvm/llvm-project/pull/92289
More information about the llvm-commits
mailing list