[all-commits] [llvm/llvm-project] 986287: [mlir][SparseTensor] Fix invalid API usage in patt...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Wed Dec 6 19:05:34 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 986287e7f38321165c0c654f3af06e34af7b161f
https://github.com/llvm/llvm-project/commit/986287e7f38321165c0c654f3af06e34af7b161f
Author: Matthias Springer <me at m-sp.org>
Date: 2023-12-07 (Thu, 07 Dec 2023)
Changed paths:
M mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/SparseReinterpretMap.cpp
Log Message:
-----------
[mlir][SparseTensor] Fix invalid API usage in patterns (#74690)
Rewrite patterns must return `success` if the IR was modified. This
commit fixes sparse tensor tests such as
`SparseTensor/sparse_fusion.mlir`,
`SparseTensor/CPU/sparse_reduce_custom.mlir`,
`SparseTensor/CPU/sparse_semiring_select.mlir` when running with
`MLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS`.
More information about the All-commits
mailing list