[Mlir-commits] [mlir] [mlir][Transforms] Dialect Conversion Driver without Rollback (PR #151865)

Matthias Springer llvmlistbot at llvm.org
Sun Aug 10 02:49:49 PDT 2025


================

----------------
matthias-springer wrote:

This is required to fix a use-after-free ASAN crash. `getTop(op)` returns `op`. The op is erased by `replaceOp(op, adaptor.getTensor())`. The `setInsertionPointAfter(parent)` accessed the deallocated op.

I'm using the SparseTensor integration tests for benchmarking in the RFC, so I wanted to make sure that the SparseTensor test suite is working with this PR.

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


More information about the Mlir-commits mailing list