[Mlir-commits] [mlir] [mlir][ArmSME] Add arm_sme.move_tile_slice_to_vector op (PR #67652)

Andrzej WarzyƄski llvmlistbot at llvm.org
Thu Sep 28 07:02:25 PDT 2023


================
@@ -501,6 +501,43 @@ def MoveVectorToTileSliceOp : ArmSME_Op<"move_vector_to_tile_slice", [
   }];
 }
 
+def MoveTileSliceToVectorOp : ArmSME_Op<"move_tile_slice_to_vector", [Pure,
+    TypesMatchWith<
+      "type of 'result' matches type of 'tile' slice",
+      "tile", "result",
+      "VectorType(VectorType::Builder(::llvm::cast<mlir::VectorType>($_self)).dropDim(0))">,
+]> {
+  let summary = "Move slice of a 2-D tile to a 1-D scalable vector";
+  let description = [{
+    The tile slice to vector operation extracts a 1-D scalable slice from a 2-D
+    scalable tile at the give index. A tile slice is a 1-D vector of
----------------
banach-space wrote:

```suggestion
    scalable tile at the given index. A tile slice is a 1-D vector of
```

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


More information about the Mlir-commits mailing list