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

Mehdi Amini llvmlistbot at llvm.org
Wed Mar 13 22:36:52 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>();
----------------
joker-eph wrote:

This should be in the Func dialect I believe 

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


More information about the Mlir-commits mailing list