[Mlir-commits] [mlir] [mlir][bufferization] Support custom types at function boundaries (PR #159766)
Andrei Golubev
llvmlistbot at llvm.org
Mon Sep 22 01:12:37 PDT 2025
================
@@ -43,6 +43,18 @@ def Bufferization_TensorLikeTypeInterface
/*args=*/(ins
"::mlir::bufferization::BufferLikeType":$bufferType,
"::llvm::function_ref<::mlir::InFlightDiagnostic()>":$emitError)
+ >,
+ InterfaceMethod<[{
----------------
andrey-golubev wrote:
main issue with this new interface method is that I can't seem to provide a default implementation. i'd go with `new method` == `getBufferType` by default but it fails to compile since builtin types get this interface dynamically attached.
https://github.com/llvm/llvm-project/pull/159766
More information about the Mlir-commits
mailing list