[Mlir-commits] [mlir] [mlir] Declare promised interfaces for all	dialects (PR #78368)
    Oleksandr Alex Zinenko 
    llvmlistbot at llvm.org
       
    Thu Mar 14 06:14:04 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>();
----------------
ftynse wrote:
It is sufficient to put this in the func dialect for now, and eventually proceed with splitting out the interface from the dialect as I did with transform if feasible/desirable.
https://github.com/llvm/llvm-project/pull/78368
    
    
More information about the Mlir-commits
mailing list