================ ---------------- matthias-springer wrote: How is this related to the crash on the bug report? The crash there was in `mlir::Operation::isProperAncestor`. Why does this fix the crash? https://github.com/llvm/llvm-project/pull/208979