From a1be09a0f3278ab198ba27c5fb171192758d20db Mon Sep 17 00:00:00 2001 From: Javed Absar <106147771+javedabsar1@users.noreply.github.com> Date: Wed, 6 Nov 2024 19:54:14 +0000 Subject: [PATCH] [mlir][linalg] Fix isAllParallelLoops method implementation. (#115179) --- 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<