[Mlir-commits] [mlir] [mlir][linalg] Implement `LinalgGroupedConvolutionOpInterface` to unify grouped convs (PR #94796)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sun Jun 22 21:32:42 PDT 2025
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff HEAD~1 HEAD --extensions cpp,h -- mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.h mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp b/mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp
index 32c47cdfe..f05fda3f9 100644
--- a/mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp
+++ b/mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp
@@ -959,8 +959,7 @@ mlir::linalg::detail::verifyGroupedConvolutionInterface(Operation *op) {
dyn_cast<GroupedConvolutionOpInterface>(op)) {
const auto imageType = cast<ShapedType>(conv.image().getType());
const auto imageRank = imageType.getRank();
- const auto kernelRank =
- cast<ShapedType>(conv.filter().getType()).getRank();
+ const auto kernelRank = cast<ShapedType>(conv.filter().getType()).getRank();
const auto initType =
cast<ShapedType>(cast<LinalgOp>(op).getDpsInits()[0].getType());
const auto initRank = initType.getRank();
``````````
</details>
https://github.com/llvm/llvm-project/pull/94796
More information about the Mlir-commits
mailing list