[mlir][sparse] Rename add{Pointer,Index} to append{Pointer,Index}
authorwren romano <2998727+wrengr@users.noreply.github.com>
Thu, 3 Mar 2022 19:41:23 +0000 (11:41 -0800)
committerwren romano <2998727+wrengr@users.noreply.github.com>
Fri, 4 Mar 2022 20:03:24 +0000 (12:03 -0800)
commit289f84a4a2cc0f97575bde7e39845c67a6e8c79d
tree5b95096f1c84b745f32e17547aaed93a8a5ef38d
parent72c5b26f3d6502fc64ae78923c92ef57f7e971c4
[mlir][sparse] Rename add{Pointer,Index} to append{Pointer,Index}

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.

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D120929
mlir/lib/ExecutionEngine/SparseTensorUtils.cpp