Skip to content

Commit fe9d73c

Browse files
committed
Remove ununsed function
1 parent e273ea6 commit fe9d73c

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

mlir/include/mlir/IR/AffineMap.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -382,10 +382,6 @@ class AffineMap {
382382
/// Returns true if the AffineMap represents a symbol-less permutation map.
383383
bool isPermutation() const;
384384

385-
// Returns true if every result is monotonically increasing.
386-
// See AffineExpr::isMonotonicallyIncreasing().
387-
bool isComponentWiseMonotonicallyIncreasing() const;
388-
389385
/// Returns the map consisting of the `resultPos` subset.
390386
AffineMap getSubMap(ArrayRef<unsigned> resultPos) const;
391387

mlir/lib/IR/AffineMap.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -651,11 +651,6 @@ bool AffineMap::isPermutation() const {
651651
return isProjectedPermutation();
652652
}
653653

654-
bool AffineMap::isComponentWiseMonotonicallyIncreasing() const {
655-
return all_of(getResults(),
656-
[](auto expr) { return expr.isMonotonicallyIncreasing(); });
657-
}
658-
659654
AffineMap AffineMap::getSubMap(ArrayRef<unsigned> resultPos) const {
660655
SmallVector<AffineExpr, 4> exprs;
661656
exprs.reserve(resultPos.size());

0 commit comments

Comments
 (0)