Skip to content

Commit a1be09a

Browse files
authored
[mlir][linalg] Fix isAllParallelLoops method implementation. (#115179)
1 parent 3ed4b0b commit a1be09a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def LinalgStructuredInterface
252252
/*args=*/(ins),
253253
/*methodBody=*/"",
254254
/*defaultImplementation=*/[{
255-
return getNumParallelLoops() == getNumParallelLoops();
255+
return getNumParallelLoops() == getNumLoops();
256256
}]
257257
>,
258258
InterfaceMethod<

0 commit comments

Comments
 (0)