This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] fix asan issue
ClosedPublic

Authored by aartbik on Jun 16 2022, 1:26 PM.

Details

Summary

The LinalgElementwiseOpFusion pass has become smarter, and converts
the simple conversion linalg operation into a sparse dialect convert
operation. However, since our current bufferization does not take the
new semantics into consideration, we leak memory of the allocation.
For now, this has been fixed by making the operation less trivial.

Diff Detail

Event Timeline

aartbik created this revision.Jun 16 2022, 1:26 PM
aartbik requested review of this revision.Jun 16 2022, 1:26 PM
bixia accepted this revision.Jun 16 2022, 2:10 PM
This revision is now accepted and ready to land.Jun 16 2022, 2:10 PM
This revision was landed with ongoing or failed builds.Jun 16 2022, 2:49 PM
This revision was automatically updated to reflect the committed changes.