[mlir][sparse] Adding {pointer,index}OverheadTypeEncoding
authorwren romano <2998727+wrengr@users.noreply.github.com>
Mon, 21 Mar 2022 23:49:54 +0000 (16:49 -0700)
committerwren romano <2998727+wrengr@users.noreply.github.com>
Wed, 23 Mar 2022 19:04:47 +0000 (12:04 -0700)
commitebc8466481f938d799d0170e0caf1c7e64f52c53
treec3cdeea01491b68e31c75887f147fd5a111b3c26
parentd051c566cd5925030d36ab4deeede60e37cd104b
[mlir][sparse] Adding {pointer,index}OverheadTypeEncoding

Work towards: https://github.com/llvm/llvm-project/issues/51652

The new functions fill the gap between `overheadTypeEncoding` and `get{Pointer,Index}OverheadType`.

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D122056
mlir/lib/Dialect/SparseTensor/Transforms/CodegenUtils.cpp
mlir/lib/Dialect/SparseTensor/Transforms/CodegenUtils.h