[Mlir-commits] [mlir] [mlir][vector] Fix patterns for dropping leading unit dims from masks (PR #73525)

Jakub Kuderski llvmlistbot at llvm.org
Mon Nov 27 07:59:45 PST 2023


================
@@ -160,6 +160,12 @@ getAsConstantIndexOps(ArrayRef<Value> values);
 // Vector Masking Utilities
 //===----------------------------------------------------------------------===//
 
+/// Infers the mask type for a transfer op given its vector type and
+/// permutation map. The mask in a transfer op operation applies to the
+/// tensor/buffer part of it and its type should match the vector shape
+/// *before* any permutation or broadcasting.
----------------
kuhar wrote:

Now that this becomes part of the 'public' interface, I think it would be nice to have an example

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


More information about the Mlir-commits mailing list