[Mlir-commits] [mlir] [mlir][Vector] Fix mask unpacking in transfer op unrolling (PR #144889)
Andrzej WarzyĆski
llvmlistbot at llvm.org
Thu Jun 19 08:44:57 PDT 2025
================
@@ -84,3 +84,33 @@ func.func @transfer_read_mask(%A : memref<?x?x?xf32>, %mask : vector<2x3x4xi1>)
%vec = vector.transfer_read %A[%c0, %c0, %c0], %f0, %mask {in_bounds = [true, true, true]}: memref<?x?x?xf32>, vector<2x3x4xf32>
return %vec : vector<2x3x4xf32>
}
+
+// -----
+
+func.func @transfer_read_perm_mask(%A : memref<?x?x?x?xf32>, %mask : vector<3x2x4xi1>) -> (vector<2x3x4xf32>) {
----------------
banach-space wrote:
IMO, this and other tests in this file are missing LIT variables that would demonstrate that e.g. `%MASK_1` is used for `%XFER_READ_1`.
https://github.com/llvm/llvm-project/pull/144889
More information about the Mlir-commits
mailing list