diff --git a/mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td b/mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td index 0a404194569c2..b81a4c9c8760c 100644 --- a/mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td +++ b/mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td @@ -252,7 +252,7 @@ def LinalgStructuredInterface /*args=*/(ins), /*methodBody=*/"", /*defaultImplementation=*/[{ - return getNumParallelLoops() == getNumParallelLoops(); + return getNumParallelLoops() == getNumLoops(); }] >, InterfaceMethod<