[Mlir-commits] [mlir] [mlir][Transforms] Dialect conversion: Context-aware type conversions (PR #140434)

Matthias Springer llvmlistbot at llvm.org
Thu May 22 23:12:54 PDT 2025


matthias-springer wrote:

I see the problem. There is no way good way to support this use case today:

- Option 1: Wait for One-Shot Dialect Conversion. But that refactoring is blocked for now because of issues with the rollback removal. It's probably not going to be happening any time soon (if ever).
- Option 2: Do not unlink blocks when they are erased. Keep them in the original region and delete them later. This is also how we deal with operations. I tried this, but I'm seeing crashes. I have to investigate further if this will work or is a dead end...


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


More information about the Mlir-commits mailing list