This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] Rename add{Pointer,Index} to append{Pointer,Index}
ClosedPublic

Authored by wrengr on Mar 3 2022, 11:47 AM.

Details

Summary

This clarifies that these methods only work in append mode, not for general insertions. This is a prospective change towards https://github.com/llvm/llvm-project/issues/51652 which also performs random-access insertions, so we want to avoid confusion.

Diff Detail

Event Timeline

wrengr created this revision.Mar 3 2022, 11:47 AM
wrengr requested review of this revision.Mar 3 2022, 11:47 AM
wrengr retitled this revision from [mlir][sparse] renamed add{Pointer,Index} to append{Pointer,Index} to [mlir][sparse] Rename add{Pointer,Index} to append{Pointer,Index}.Mar 3 2022, 11:49 AM
aartbik accepted this revision.Mar 4 2022, 8:45 AM

Yes, renaming makes a lot of sense!

This revision is now accepted and ready to land.Mar 4 2022, 8:45 AM