[Mlir-commits] [mlir] [mlir][doc] Fix transform dialect tutorial ch3 (PR #150456)

Rolf Morel llvmlistbot at llvm.org
Fri Jul 25 08:06:39 PDT 2025


================
@@ -139,7 +139,20 @@ void MyExtension::init() {
 ```
 
 This type is now directly available in the Transform dialect and can be used in operations.
+In the previous tablegen definition, the type of `$call` must be `Transform_ConcreteOp<“func.call”>`,
+now we make it can to use `CallOpInterfaceHandle`.
 
+```tablegen
+def ChangeCallTargetOp : ... {
+    let arguments = (ins
+    // Specify the type constraint on the input accepting only `func.call` payload
----------------
rolfmorel wrote:

Nevermind. 

Your `fix nit.` is a fine fix.

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


More information about the Mlir-commits mailing list