[Mlir-commits] [mlir] a1be09a - [mlir][linalg] Fix isAllParallelLoops method implementation. (#115179)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Nov 6 11:54:18 PST 2024
Author: Javed Absar
Date: 2024-11-06T19:54:14Z
New Revision: a1be09a0f3278ab198ba27c5fb171192758d20db
URL: https://github.com/llvm/llvm-project/commit/a1be09a0f3278ab198ba27c5fb171192758d20db
DIFF: https://github.com/llvm/llvm-project/commit/a1be09a0f3278ab198ba27c5fb171192758d20db.diff
LOG: [mlir][linalg] Fix isAllParallelLoops method implementation. (#115179)
Added:
Modified:
mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td b/mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td
index 0a404194569c22..b81a4c9c8760cf 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<
More information about the Mlir-commits
mailing list