[Mlir-commits] [mlir] [MLIR][SCF] Add an API to fuse consumer to a producer within scf loop (PR #88712)
donald chen
llvmlistbot at llvm.org
Wed May 29 05:25:18 PDT 2024
================
@@ -131,6 +150,42 @@ def TilingInterface : OpInterface<"TilingInterface"> {
return failure();
}]
>,
+ InterfaceMethod<
+ /*desc=*/[{
+ Method to generate the tiled implementation of an operation from
+ operand tile position.
----------------
cxy-1993 wrote:
Sorry for the delay.
My initial intention of implementing this interface was to provide a more concise interface for pass calls through the tiling interface. This situation often occurs in the linalg op interface and BuiltinTypeInterfaces. These interfaces have default implementations and usually do not require overloading when defining new ops. ftynse's opinion is also make sense, I am now more inclined to use StaticInterfaceMethod or extraClassDeclarations.
https://github.com/llvm/llvm-project/pull/88712
More information about the Mlir-commits
mailing list