[Mlir-commits] [mlir] [MLIR][Linalg] Introduce transpose/broadcast semantic to linalg.batch… (PR #130944)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Mar 12 04:10:55 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 ad704ff62b4a1abc08dbe3f21f6126745cbe3f95 b5468fcf0c2149d006f62f536bb24f053c6778df --extensions 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/LinalgOps.cpp b/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
index d46fbf988d..53ab329078 100644
--- a/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
+++ b/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
@@ -5534,7 +5534,7 @@ LogicalResult BatchReduceMatmulOp::fold(FoldAdaptor,
   return memref::foldMemRefCast(*this);
 }
 void BatchReduceMatmulOp::getEffects(
-  SmallVectorImpl<SideEffects::EffectInstance<MemoryEffects::Effect>>
+    SmallVectorImpl<SideEffects::EffectInstance<MemoryEffects::Effect>>
         &effects) {
   if (hasPureTensorSemantics())
     return;
@@ -5545,7 +5545,6 @@ Speculation::Speculatability BatchReduceMatmulOp::getSpeculatability() {
   return getGenericSpeculatabilityImpl(cast<LinalgOp>(getOperation()));
 }
 
-
 } // namespace linalg
 } // namespace mlir
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/130944


More information about the Mlir-commits mailing list