diff --git a/mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp b/mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp --- a/mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp +++ b/mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp @@ -782,12 +782,6 @@ return fusableDependences; } -static bool isZero(Value v) { - if (auto cst = v.getDefiningOp()) - return cst.getValue() == 0; - return false; -} - /// Tile the fused loops in the root operation, by setting the tile sizes for /// all other loops to zero (those will be tiled later). static Optional tileRootOperation(