[llvm] [LLVM] Add `llvm.masked.compress` intrinsic (PR #92289)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Fri May 17 08:57:43 PDT 2024


================
@@ -24975,6 +24975,72 @@ The '``llvm.masked.compressstore``' intrinsic is designed for compressing data i
 
 Other targets may support this intrinsic differently, for example, by lowering it into a sequence of branches that guard scalar store operations.
 
+Masked Vector Compress Intrinsic
----------------
lukel97 wrote:

This might be bikeshedding, but would it make more sense to put this in the llvm.vector.* family of intrinsics? Since otherwise this would be the only masked intrinsic that doesn't read or write memory

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


More information about the llvm-commits mailing list