[all-commits] [llvm/llvm-project] 319072: [mlir][sparse] migrate sparse operations into new ...
Aart Bik via All-commits
all-commits at lists.llvm.org
Thu Apr 29 15:53:07 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 319072f4e3377c4703c25333a321140a6d63c59b
https://github.com/llvm/llvm-project/commit/319072f4e3377c4703c25333a321140a6d63c59b
Author: Aart Bik <ajcbik at google.com>
Date: 2021-04-29 (Thu, 29 Apr 2021)
Changed paths:
M mlir/include/mlir/Dialect/CMakeLists.txt
M mlir/include/mlir/Dialect/Linalg/IR/CMakeLists.txt
M mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.h
R mlir/include/mlir/Dialect/Linalg/IR/LinalgSparseOps.td
M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
A mlir/include/mlir/Dialect/SparseTensor/CMakeLists.txt
A mlir/include/mlir/Dialect/SparseTensor/IR/CMakeLists.txt
A mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensor.h
A mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorBase.td
A mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
A mlir/include/mlir/Dialect/SparseTensor/Transforms/Transforms.h
M mlir/include/mlir/InitAllDialects.h
M mlir/lib/Dialect/CMakeLists.txt
M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
M mlir/lib/Dialect/Linalg/IR/LinalgTypes.cpp
M mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
R mlir/lib/Dialect/Linalg/Transforms/SparseLowering.cpp
M mlir/lib/Dialect/Linalg/Transforms/Sparsification.cpp
A mlir/lib/Dialect/SparseTensor/CMakeLists.txt
A mlir/lib/Dialect/SparseTensor/IR/CMakeLists.txt
A mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
A mlir/lib/Dialect/SparseTensor/Transforms/CMakeLists.txt
A mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorLowering.cpp
M mlir/test/Dialect/Linalg/sparse_1d.mlir
M mlir/test/Dialect/Linalg/sparse_2d.mlir
M mlir/test/Dialect/Linalg/sparse_3d.mlir
M mlir/test/Dialect/Linalg/sparse_lower.mlir
R mlir/test/Dialect/Linalg/sparse_lower_calls.mlir
M mlir/test/Dialect/Linalg/sparse_nd.mlir
R mlir/test/Dialect/Linalg/sparse_roundtrip.mlir
M mlir/test/Dialect/Linalg/sparse_vector.mlir
A mlir/test/Dialect/SparseTensor/lowering.mlir
A mlir/test/Dialect/SparseTensor/roundtrip.mlir
A mlir/test/Integration/Dialect/SparseTensor/CPU/frostt-example.mlir
A mlir/test/Integration/Dialect/SparseTensor/CPU/lit.local.cfg
A mlir/test/Integration/Dialect/SparseTensor/CPU/matrix-market-example.mlir
A mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_matvec.mlir
A mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sampled_matmul.mlir
A mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sum.mlir
R mlir/test/Integration/Sparse/CPU/frostt-example.mlir
R mlir/test/Integration/Sparse/CPU/lit.local.cfg
R mlir/test/Integration/Sparse/CPU/matrix-market-example.mlir
R mlir/test/Integration/Sparse/CPU/sparse_matvec.mlir
R mlir/test/Integration/Sparse/CPU/sparse_sampled_matmul.mlir
R mlir/test/Integration/Sparse/CPU/sparse_sum.mlir
M mlir/test/lib/Transforms/CMakeLists.txt
M mlir/test/lib/Transforms/TestSparsification.cpp
M mlir/test/mlir-opt/commandline.mlir
Log Message:
-----------
[mlir][sparse] migrate sparse operations into new sparse tensor dialect
This is the very first step toward removing the glue and clutter from linalg and
replace it with proper sparse tensor types. This revision migrates the LinalgSparseOps
into SparseTensorOps of a sparse tensor dialect. This also provides a new home for
sparse tensor related transformation.
NOTE: the actual replacement with sparse tensor types (and removal of linalg glue/clutter)
will follow but I am trying to keep the amount of changes per revision manageable.
Differential Revision: https://reviews.llvm.org/D101573
More information about the All-commits
mailing list