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

Matthias Springer llvmlistbot at llvm.org
Tue Jan 30 00:39:56 PST 2024


================
@@ -46,6 +49,17 @@ void arith::ArithDialect::initialize() {
       >();
   addInterfaces<ArithInlinerInterface>();
   declarePromisedInterface<ArithDialect, ConvertToLLVMPatternInterface>();
+  declarePromisedInterface<SelectOp,
+                           bufferization::BufferDeallocationOpInterface>();
+  declarePromisedInterface<ConstantOp,
----------------
matthias-springer wrote:

How does this work? `MLIRArithDialect` has no CMake dependency on `MLIRBufferizationDialect` as far as I know.


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


More information about the Mlir-commits mailing list