[Mlir-commits] [mlir] [mlir][mesh, MPI] Mesh2mpi (PR #104566)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Oct 31 09:59:00 PDT 2024


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 cea9dd833cf800aeb005286b2667483cc5a8d688 4c689e40e7b43a8819dfec8d6ce3826cce36d5ad --extensions cpp,h -- mlir/include/mlir/Conversion/MeshToMPI/MeshToMPI.h mlir/lib/Conversion/MeshToMPI/MeshToMPI.cpp mlir/include/mlir/Conversion/Passes.h mlir/include/mlir/Dialect/Mesh/IR/MeshOps.h mlir/lib/Dialect/Mesh/IR/MeshOps.cpp mlir/lib/Dialect/Mesh/Transforms/Spmdization.cpp
``````````

</details>

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

``````````diff
diff --git a/mlir/lib/Conversion/MeshToMPI/MeshToMPI.cpp b/mlir/lib/Conversion/MeshToMPI/MeshToMPI.cpp
index 11d7c0e08f..5d9ea9cfcc 100644
--- a/mlir/lib/Conversion/MeshToMPI/MeshToMPI.cpp
+++ b/mlir/lib/Conversion/MeshToMPI/MeshToMPI.cpp
@@ -75,8 +75,8 @@ struct ConvertUpdateHaloOp
     auto opSplitAxes = op.getSplitAxes().getAxes();
     auto mesh = op.getMesh();
     auto meshOp = getMesh(op, symbolTableCollection);
-    auto haloSizes = getMixedValues(op.getStaticHaloSizes(),
-                                    op.getHaloSizes(), rewriter);
+    auto haloSizes =
+        getMixedValues(op.getStaticHaloSizes(), op.getHaloSizes(), rewriter);
     // subviews need Index values
     for (auto &sz : haloSizes) {
       if (sz.is<Value>()) {

``````````

</details>


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


More information about the Mlir-commits mailing list