[Mlir-commits] [mlir] [mlir][Linalg] Bugfix in decompose generic by unfolding permutation (PR #126737)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Fri Feb 14 04:58:05 PST 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 dd59198647b7be2e7a404d7bf9ecb247fb36ebad 57d7bbfcf0410730fecf97d6419e9b13b974a182 --extensions cpp -- mlir/lib/Dialect/Linalg/Transforms/DecomposeGenericByUnfoldingPermutation.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/lib/Dialect/Linalg/Transforms/DecomposeGenericByUnfoldingPermutation.cpp b/mlir/lib/Dialect/Linalg/Transforms/DecomposeGenericByUnfoldingPermutation.cpp
index 96b581b240..ae8cb94661 100644
--- a/mlir/lib/Dialect/Linalg/Transforms/DecomposeGenericByUnfoldingPermutation.cpp
+++ b/mlir/lib/Dialect/Linalg/Transforms/DecomposeGenericByUnfoldingPermutation.cpp
@@ -228,7 +228,7 @@ LogicalResult DecomposeProjectedPermutation::matchAndRewrite(
SmallVector<Value> operands = op->getOperands();
ValueRange operandsRef(operands);
-
+
auto newOp = rewriter.create<linalg::GenericOp>(
/*location=*/op.getLoc(),
/*resultTensorTypes=*/op->getResultTypes(),
``````````
</details>
https://github.com/llvm/llvm-project/pull/126737
More information about the Mlir-commits
mailing list