[Mlir-commits] [mlir] [mlir] [dataflow] : Improve the time and space footprint of data flow. (PR #135325)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Apr 11 00:56:35 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/Analysis/DataFlow/DenseAnalysis.h mlir/include/mlir/Analysis/DataFlowFramework.h mlir/lib/Analysis/DataFlow/DenseAnalysis.cpp mlir/lib/Analysis/DataFlowFramework.cpp mlir/test/lib/Analysis/DataFlow/TestDenseBackwardDataFlowAnalysis.cpp mlir/test/lib/Analysis/DataFlow/TestDenseForwardDataFlowAnalysis.cpp
``````````

</details>

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

``````````diff
diff --git a/mlir/include/mlir/Analysis/DataFlowFramework.h b/mlir/include/mlir/Analysis/DataFlowFramework.h
index 9b4b41f1c..1d7b96fc7 100644
--- a/mlir/include/mlir/Analysis/DataFlowFramework.h
+++ b/mlir/include/mlir/Analysis/DataFlowFramework.h
@@ -433,7 +433,8 @@ public:
   StateT *getOrCreateState(AnchorT anchor);
 
   /// Get leader lattice anchor in equivalence lattice anchor group, return
-  /// input lattice anchor if input not found in equivalece lattice anchor group.
+  /// input lattice anchor if input not found in equivalece lattice anchor
+  /// group.
   template <typename StateT>
   LatticeAnchor getLeaderAnchorOrSelf(LatticeAnchor latticeAnchor) const;
 

``````````

</details>


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


More information about the Mlir-commits mailing list