We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d7d8e5 commit 1949856Copy full SHA for 1949856
mlir/lib/Dialect/SparseTensor/Pipelines/SparseTensorPipelines.cpp
@@ -31,8 +31,9 @@
31
32
void mlir::sparse_tensor::buildSparsifier(OpPassManager &pm,
33
const SparsifierOptions &options) {
34
- // Rewrite named linalg ops into generic ops.
+ // Rewrite named linalg ops into generic ops and apply fusion.
35
pm.addNestedPass<func::FuncOp>(createLinalgGeneralizeNamedOpsPass());
36
+ pm.addNestedPass<func::FuncOp>(createLinalgElementwiseOpFusionPass());
37
38
// Sparsification and bufferization mini-pipeline.
39
pm.addPass(createSparsificationAndBufferizationPass(
0 commit comments