[mlir][sparse] Add new utility class to help generates loop structures over sparse...
authorPeiming Liu <peiming@google.com>
Tue, 27 Sep 2022 22:20:10 +0000 (22:20 +0000)
committerPeiming Liu <peiming@google.com>
Fri, 30 Sep 2022 21:42:42 +0000 (21:42 +0000)
commit550288cbc3967333886f87677ac8df93b928d32b
tree1ae0c1fe298250e681d1e73d37a5e6923c92a035
parent5b4623831bb60a481d80372e7be6f32f7a464863
[mlir][sparse] Add new utility class to help generates loop structures over sparse tensors; Implement foreach operator.

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D134782
mlir/lib/Dialect/SparseTensor/Transforms/CodegenUtils.cpp
mlir/lib/Dialect/SparseTensor/Transforms/CodegenUtils.h
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp
mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_codegen_foreach.mlir [new file with mode: 0644]