[Mlir-commits] [mlir] [mlir] Declare promised interfaces for all dialects (PR #78368)
Scott Todd
llvmlistbot at llvm.org
Tue Mar 26 09:38:12 PDT 2024
================
@@ -69,6 +71,10 @@ void ControlFlowDialect::initialize() {
>();
addInterfaces<ControlFlowInlinerInterface>();
declarePromisedInterface<ControlFlowDialect, ConvertToLLVMPatternInterface>();
+ declarePromisedInterfaces<bufferization::BufferizableOpInterface, BranchOp,
+ CondBranchOp>();
+ declarePromisedInterface<CondBranchOp,
+ bufferization::BufferDeallocationOpInterface>();
----------------
ScottTodd wrote:
Possible false alarm on "that code should not be using bufferization" after some further debugging... but the layering here still feels inverted to me.
https://github.com/llvm/llvm-project/pull/78368
More information about the Mlir-commits
mailing list