summaryrefslogtreecommitdiff
path: root/mlir/lib/Dialect/Affine/Analysis/AffineAnalysis.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/lib/Dialect/Affine/Analysis/AffineAnalysis.cpp')
-rw-r--r--mlir/lib/Dialect/Affine/Analysis/AffineAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Dialect/Affine/Analysis/AffineAnalysis.cpp b/mlir/lib/Dialect/Affine/Analysis/AffineAnalysis.cpp
index 9b0ad3c119d0..4b3730a4aa39 100644
--- a/mlir/lib/Dialect/Affine/Analysis/AffineAnalysis.cpp
+++ b/mlir/lib/Dialect/Affine/Analysis/AffineAnalysis.cpp
@@ -136,7 +136,7 @@ static bool isLocallyDefined(Value v, Operation *enclosingOp) {
bool mlir::affine::isLoopMemoryParallel(AffineForOp forOp) {
// Any memref-typed iteration arguments are treated as serializing.
if (llvm::any_of(forOp.getResultTypes(),
- [](Type type) { return type.isa<BaseMemRefType>(); }))
+ [](Type type) { return isa<BaseMemRefType>(type); }))
return false;
// Collect all load and store ops in loop nest rooted at 'forOp'.