[Mlir-commits] [mlir] [mlir] Declare promised interfaces for all dialects (PR #78368)

Oleksandr Alex Zinenko llvmlistbot at llvm.org
Mon Feb 19 05:44:05 PST 2024


ftynse wrote:

> Open question: where should I declare promised interfaces for the builtin Dialect?

I'm not sure having a promised interface for the builtin dialect even makes sense. If there is an interface that needs to be added to builtin, I suppose the place that defines the interface should immediately register it. Builtin is always loaded in the context and lives in lib/IR so pretty much everything depends on it. I suspect the problem is that we don't have any sort of interface initialization that would handle it or the "owner" of an interface?

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


More information about the Mlir-commits mailing list