[mlir][sparse] extend foreach operation to iterator over sparse constant.
authorPeiming Liu <peiming@google.com>
Wed, 9 Nov 2022 00:43:27 +0000 (00:43 +0000)
committerPeiming Liu <peiming@google.com>
Wed, 9 Nov 2022 01:50:34 +0000 (01:50 +0000)
commit7175f9dde19b5e38c8a68f8b6a4aee723c6a92b3
tree704d7edfde5d160893079613566b9d84c25a6c15
parent38b63c900fc5804dc21489f73e7f8dc9411fd266
[mlir][sparse] extend foreach operation to iterator over sparse constant.

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D137679
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp
mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_codegen_foreach.mlir