[Mlir-commits] [mlir] [mlir][linalg] Support scalable vectorization of linalg.index operations (PR #96778)
Andrzej WarzyĆski
llvmlistbot at llvm.org
Fri Jul 5 01:40:31 PDT 2024
================
@@ -113,6 +113,56 @@ module attributes {transform.with_named_sequence} {
}
}
+// -----
+
+#map1 = affine_map<(d0, d1, d2) -> (d0, d1, d2)>
+func.func @vectorize_scalable_nd_tensor_extract_transfer_read_basic(%arg0: tensor<?x?x?xf32>, %arg2: tensor<?x?x?xf32>) -> tensor<?x?x?xf32> {
----------------
banach-space wrote:
Move to:
* vectorization-scalable.mlir.
It was introduced specifically for scalable vectorisation. This file ("vectorize-tensor-extract.mlir") is for non-masked vectorisation - it uses
* `transform.structured.vectorize_children_and_apply_patterns`
exclusively, which means "no masking". Then, you can also simplify the name as `@vectorize_linalg_index` :)
https://github.com/llvm/llvm-project/pull/96778
More information about the Mlir-commits
mailing list