[Mlir-commits] [mlir] [MLIR][OpenMP] Add `omp.private` op (PR #80955)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Feb 8 02:20:02 PST 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 b85fe40cb88a6b4f640c2b757bd0d254ff1d032c 295f820abf3e35ee9e341d327ddd8bc71cc3c51d -- 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 8d368eab1a..96266f8304 100644
--- a/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+++ b/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
@@ -1626,7 +1626,8 @@ LogicalResult PrivateClauseOp::verify() {
 
     if (region.getNumArguments() != expectedNumArgs)
       return mlir::emitError(region.getLoc())
-             << "`" << regionName << "`: " << "expected " << expectedNumArgs
+             << "`" << regionName << "`: "
+             << "expected " << expectedNumArgs
              << " region arguments, got: " << region.getNumArguments();
 
     for (Block &block : region) {

``````````

</details>


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


More information about the Mlir-commits mailing list