[Mlir-commits] [mlir] [MLIR][Affine] Fix fusion in the presence of cyclic deps in source nests (PR #128397)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sat Feb 22 20:20:03 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 86ef031b64fae51666b677ee3a700ecb1c428edd 948490db1493488cff27dbb4940e934c3bf0d855 --extensions cpp,h -- mlir/include/mlir/Dialect/Affine/Analysis/LoopAnalysis.h mlir/lib/Dialect/Affine/Analysis/LoopAnalysis.cpp mlir/lib/Dialect/Affine/Transforms/LoopFusion.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/mlir/lib/Dialect/Affine/Analysis/LoopAnalysis.cpp b/mlir/lib/Dialect/Affine/Analysis/LoopAnalysis.cpp
index 6f014e5074..175def0a77 100644
--- a/mlir/lib/Dialect/Affine/Analysis/LoopAnalysis.cpp
+++ b/mlir/lib/Dialect/Affine/Analysis/LoopAnalysis.cpp
@@ -70,7 +70,7 @@ private:
   /// A node of a directed graph between MLIR Operations to model various
   /// relationships. This is meant to be used internally.
   struct DGNode {
-    DGNode(Operation *op) : op(op){};
+    DGNode(Operation *op) : op(op) {};
     Operation *op;
 
     // Start and finish visit numbers are standard in DFS to implement things

``````````

</details>


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


More information about the Mlir-commits mailing list