[Mlir-commits] [mlir] [mlir][linalg] Fix isAllParallelLoops method implementation. (PR #115179)
Javed Absar
llvmlistbot at llvm.org
Wed Nov 6 08:10:43 PST 2024
https://github.com/javedabsar1 created https://github.com/llvm/llvm-project/pull/115179
None
>From 26e7e1cb3ebf40c23ac0a2a2db49fd5ed1be8021 Mon Sep 17 00:00:00 2001
From: Javed Absar <javed.absar at gmail.com>
Date: Wed, 6 Nov 2024 11:06:03 -0500
Subject: [PATCH] [mlir][linalg] Fix isAllParallelLoops method implementation.
---
mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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