This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] fix a memory leakage when converting from a tensor slice
ClosedPublic

Authored by Peiming on Feb 13 2023, 9:46 AM.

Diff Detail

Event Timeline

Peiming created this revision.Feb 13 2023, 9:46 AM
Herald added a project: Restricted Project. · View Herald Transcript
Peiming requested review of this revision.Feb 13 2023, 9:46 AM
aartbik accepted this revision.Feb 13 2023, 11:57 AM
aartbik added inline comments.
mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_foreach_slices.mlir
71–72

This is now a TODO more than a FIXME, right?

75

remove the they? i.e. for each... should yield the same result reads better to me?

This revision is now accepted and ready to land.Feb 13 2023, 11:57 AM
Peiming updated this revision to Diff 497113.Feb 13 2023, 2:32 PM
Peiming marked 2 inline comments as done.

address comments.

This revision was landed with ongoing or failed builds.Feb 13 2023, 2:44 PM
This revision was automatically updated to reflect the committed changes.