[all-commits] [llvm/llvm-project] 1a4f0d: [mlir][doc] Fix transform dialect tutorial ch3 (#1...

lonely eagle via All-commits all-commits at lists.llvm.org
Fri Jul 25 18:21:56 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a4f0d61152adb0ba1279e26d46dfb0ca061d9d7
      https://github.com/llvm/llvm-project/commit/1a4f0d61152adb0ba1279e26d46dfb0ca061d9d7
  Author: lonely eagle <2020382038 at qq.com>
  Date:   2025-07-26 (Sat, 26 Jul 2025)

  Changed paths:
    M mlir/docs/Tutorials/transform/Ch3.md
    M mlir/examples/transform/Ch3/include/MyExtension.td
    M mlir/test/Examples/transform/Ch3/ops.mlir
    M mlir/test/Examples/transform/Ch3/sequence.mlir

  Log Message:
  -----------
  [mlir][doc] Fix transform dialect tutorial ch3 (#150456)

Fixed some bugs in documentation. Add CallOpInterfaceHandle to the
arguments of ChangeCallTargetOp, after doing so the section described in
the documentation works correctly, Otherwise the following code reports
an error.
```
// Cast to our new type.
 %casted = transform.cast %call : !transform.any_op to !transform.my.call_op_interface
// Using our new operation.
 transform.my.change_call_target %casted, "microkernel" : !transform.my.call_op_interface
```



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list