[mlir][sparse] enhance element-wise fusion heuristics
We prevent merging a sparse-in/dense-out with dense-in kernels because the result is usuall not sparsifiable. Dense kernels and sparse kernels are still fused, obviously. Reviewed By: Peiming Differential Revision: https://reviews.llvm.org/D153077
Loading
Please sign in to comment