summaryrefslogtreecommitdiff
path: root/mlir/docs/Tutorials/transform/Ch3.md
AgeCommit message (Collapse)Author
2025-07-26[mlir][doc] Fix transform dialect tutorial ch3 (#150456)lonely eagle
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 ```
2024-02-09[mlir] update transform dialect tutorials (#81199)Oleksandr "Alex" Zinenko
Use the "main" transform-interpreter pass instead of the test pass. This, along with the previously introduced debug extension, now allow tutorials to no longer depend on test passes and extensions.
2024-01-03[mlir][docs] Capitalize "Transform" in "transform dialect" (#76840)Andrzej Warzyński
A mix of "Transform dialect" and "transform dialect" is used ATM. This patch capitalizes the outstanding instances of "transform".
2023-07-10[mlir][transform][tutorial] Fix typo in inline code snippet. (NFC)Ingo Müller
Reviewed By: ingomueller-net Differential Revision: https://reviews.llvm.org/D154828
2023-06-28[mlir][doc] Fix broken docsKohei Yamaguchi
- Fix include paths for Transform Dialect Tutorial - Add math dialect's pass into Pass.md - Remove a include path of Quant dialect from Pass.md Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D153944
2023-06-20[mlir][transform] Add TransformRewriterMatthias Springer
All `apply` functions now have a `TransformRewriter &` parameter. This rewriter should be used to modify the IR. It has a `TrackingListener` attached and updates the internal handle-payload mappings based on rewrites. Implementations no longer need to create their own `TrackingListener` and `IRRewriter`. Error checking is integrated into `applyTransform`. Tracking listener errors are reported only for ops with the `ReportTrackingListenerFailuresOpTrait` trait attached, allowing for a gradual migration. Furthermore, errors can be silenced with an op attribute. Additional API will be added to `TransformRewriter` in subsequent revisions. This revision just adds an "empty" `TransformRewriter` class and updates all `apply` implementations. Differential Revision: https://reviews.llvm.org/D152427
2023-05-31[mlir] fix documentation includesAlex Zinenko
2023-05-30[mlir] add initial chapters of the transform dialect tutorialAlex Zinenko
The transform dialect has been around for a while and is sufficiently stable at this point. Add the first three chapters of the tutorial describing its usage and extension. Reviewed By: springerm Differential Revision: https://reviews.llvm.org/D151491