[Mlir-commits] [mlir] [mlir][transform] Fix ch2 and additional documentation (PR #148407)

Oleksandr Alex Zinenko llvmlistbot at llvm.org
Sun Jul 13 01:02:26 PDT 2025


================
@@ -288,67 +291,80 @@ After registering the extension, it becomes possible to use our new operation in
 ```mlir
 module attributes {transform.with_named_sequence} {
   transform.named_sequence @__transform_main(
-      %arg0: !transform.any_op,
-      %arg1: !transform.op<"linalg.matmul">,
-      %arg2: !transform.op<"linalg.elementwise">) {
+       %arg0: !transform.any_op,
+       %arg1: !transform.op<"linalg.matmul">,
+       %arg2: !transform.op<"linalg.elementwise">) {
     // Since the %arg2 handle is associated with both elementwise operations,
     // we need to split it into two handles so we can target only the second
     // elementwise operation.
     %add, %max = transform.split_handle %arg2
         : (!transform.op<"linalg.elementwise">)
-        -> (!transform.any_op, !transform.any_op)
+          -> (!transform.any_op, !transform.any_op)
----------------
ftynse wrote:

Ditto. I was trying to be consistent with one style of formatting throughout this document, let's not introduce the second.

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


More information about the Mlir-commits mailing list