The sparse compiler currently uses a “one size fits all” sparse runtime support library (in lieu of elaborate codegen for those parts, which could be an alternative approach).
The code lives at:
https://github.com/llvm/llvm-project/blob/main/mlir/lib/ExecutionEngine/SparseUtils.cpp
However, it has been suggested that "SparseTensorUtils" would be a better name for this library.
clang-format not found in user’s local PATH; not linting file.