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

Justin Fargnoli llvmlistbot at llvm.org
Thu Mar 14 17:30:33 PDT 2024


================
@@ -63,6 +64,8 @@ void mlir::bufferization::BufferizationDialect::initialize() {
 #include "mlir/Dialect/Bufferization/IR/BufferizationOps.cpp.inc"
       >();
   addInterfaces<BufferizationInlinerInterface>();
+  declarePromisedInterfaces<BufferizableOpInterface, func::CallOp, func::FuncOp,
+                            func::ReturnOp>();
----------------
justinfargnoli wrote:

[Move Func Op declared interfaces to the Func Dialect code.](https://github.com/llvm/llvm-project/pull/78368/commits/8273ef4fe34d030c4ec9e1d5ea9426502e4451f1) should address this. 

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


More information about the Mlir-commits mailing list