[flang-commits] [flang] [mlir] [flang][OpenMP] Delayed privatization MLIR lowering support for `distribute` (PR #109632)

via flang-commits flang-commits at lists.llvm.org
Thu Sep 26 01:28:24 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 e7569b30861cce7064fdc7b0e3ad1ee80fbc1fa7 989417fc6f83d2d71a77e3cd73ecb99948f3bc69 --extensions cpp -- flang/lib/Lower/OpenMP/OpenMP.cpp mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
``````````

</details>

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

``````````diff
diff --git a/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp b/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
index 554c408bc6..62f9425651 100644
--- a/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+++ b/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
@@ -53,8 +53,9 @@ makeDenseBoolArrayAttr(MLIRContext *ctx, const ArrayRef<bool> boolArray) {
   return boolArray.empty() ? nullptr : DenseBoolArrayAttr::get(ctx, boolArray);
 }
 
-static ArrayAttr getPrivateSymsAttrIfPresent(OpBuilder &builder,
-                                    const PrivateClauseOps &privateClause) {
+static ArrayAttr
+getPrivateSymsAttrIfPresent(OpBuilder &builder,
+                            const PrivateClauseOps &privateClause) {
   return privateClause.privateSyms.empty()
              ? nullptr
              : builder.getArrayAttr(privateClause.privateSyms);

``````````

</details>


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


More information about the flang-commits mailing list