This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] Rename the public SparseTensorStorage::asCOO to toCOO
ClosedPublic

Authored by wrengr on Aug 30 2021, 4:10 PM.

Details

Summary

Trying to reduce confusion by having the name of the public method match that of the private method for handling the recursion. Also adding some comments to SparseTensorStorage::fromCOO to help clarify what the recursive calls are doing in the dense case.

Diff Detail

Event Timeline

wrengr created this revision.Aug 30 2021, 4:10 PM
wrengr requested review of this revision.Aug 30 2021, 4:10 PM
aartbik accepted this revision.Aug 30 2021, 4:15 PM

Your bot build is being bitten by the "patch application failed" issue, so please make sure you have a green bot build before submitting. But changes LGTM.

This revision is now accepted and ready to land.Aug 30 2021, 4:15 PM

I'm not sure how/where exactly to check on/restart the buildbot being used for this

I'm not sure how/where exactly to check on/restart the buildbot being used for this

Rebasing and re-running arc diff to update the revision should retrigger the build

wrengr updated this revision to Diff 369769.Aug 31 2021, 1:03 PM

rebased and rerunning arc diff