Skip to content

Commit 0f9f0a4

Browse files
committed
Remove unused isZero function
Unused since https://reviews.llvm.org/D91503 and triggering -Wunused-function Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D91838
1 parent 0c59f51 commit 0f9f0a4

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -782,12 +782,6 @@ FusableOpDependencesTy mlir::linalg::findAllFusableDependences(
782782
return fusableDependences;
783783
}
784784

785-
static bool isZero(Value v) {
786-
if (auto cst = v.getDefiningOp<ConstantIndexOp>())
787-
return cst.getValue() == 0;
788-
return false;
789-
}
790-
791785
/// Tile the fused loops in the root operation, by setting the tile sizes for
792786
/// all other loops to zero (those will be tiled later).
793787
static Optional<TiledLinalgOp> tileRootOperation(

0 commit comments

Comments
 (0)