[mlir][sparse] introduce sparse_tensor.pack operation
authorPeiming Liu <peiming@google.com>
Thu, 2 Feb 2023 23:34:28 +0000 (23:34 +0000)
committerPeiming Liu <peiming@google.com>
Fri, 3 Feb 2023 22:30:52 +0000 (22:30 +0000)
commit1f07853f2bc5278a3d73dfdd583e7607c82d8be1
tree46814f7c95edd6bc0513694dfa519b6c337a612a
parenta0cb7bab425bed54de942db31f747c71f5959f40
[mlir][sparse] introduce sparse_tensor.pack operation

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D143224
mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensor.h
mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp
mlir/test/Dialect/SparseTensor/invalid.mlir
mlir/test/Dialect/SparseTensor/roundtrip.mlir