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

Justin Fargnoli llvmlistbot at llvm.org
Wed Mar 13 22:43:35 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:

Just to confirm, is [this reasoning](https://github.com/llvm/llvm-project/pull/78368#discussion_r1475542616) incorrect?

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


More information about the Mlir-commits mailing list