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

lonely eagle llvmlistbot at llvm.org
Sun Jul 13 01:38:46 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">) {
----------------
linuxlonelyeagle wrote:

Because the code here in the document is pasted into the file, using opt would be syntactically incorrect.Obviously, the code here comes from the end of Chapter 1, I pasted them and added transform.my.change_call_target at the end.

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


More information about the Mlir-commits mailing list