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

Scott Todd llvmlistbot at llvm.org
Tue Mar 26 09:56:07 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:

Yep, fixed the crash with https://github.com/openxla/iree/pull/16891/commits/24ee0450006a6b765a19c1ff4fdca5acf173795c

A pointer to the `register` functions to use in the PR description could have helped speed up that triage/fix process.

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


More information about the Mlir-commits mailing list