llvm-project
492e8ba0 - [mlir] Fix memory leaks after #81759 (#82762)

Commit
1 year ago
[mlir] Fix memory leaks after #81759 (#82762) This commit fixes memory leaks that were introduced by #81759. The way ops and blocks are erased changed slightly. The leaks were caused by an incorrect implementation of op builders: blocks must be created with the supplied builder object. Otherwise, they are not properly tracked by the dialect conversion and can leak during rollback.
Parents
Loading