File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
mlir/test/lib/Dialect/Linalg Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ using namespace mlir::linalg;
24
24
25
25
static LogicalResult fuseLinalgOpsGreedily (func::FuncOp f) {
26
26
OpBuilder b (f);
27
- DenseSet<Operation *> eraseSet;
28
27
29
28
// Save original Linalg ops, we only want to make a pass over those.
30
29
SmallVector<LinalgOp, 8 > linalgOps;
@@ -56,13 +55,6 @@ static LogicalResult fuseLinalgOpsGreedily(func::FuncOp f) {
56
55
}
57
56
}
58
57
}
59
- // The `fuseProducerOfBuffer` function performs structural checks and in
60
- // particular that no covering read or write exist between the consumer and
61
- // the producer. As a consequence, the only fusions that may occur preserve
62
- // subsequent dependences and are guaranteed by construction to produce the
63
- // whole view. We may thus erase the producer once it is fused.
64
- for (auto *e : eraseSet)
65
- e->erase ();
66
58
67
59
return changed ? success () : failure ();
68
60
}
You can’t perform that action at this time.
0 commit comments