[Mlir-commits] [mlir] [mlir][OpenMP] Extend `omp.private` with a `dealloc` region (PR #90456)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Apr 29 04:33:43 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 55c6bda01ef5a166a69b43956775272d9d67bda5 321e5cfadc6d51b6daed36dab92ed9fec606ff2f -- 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 e660ac8ddd..0799090cde 100644
--- a/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+++ b/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
@@ -2267,8 +2267,6 @@ LogicalResult PrivateClauseOp::verify() {
return mlir::emitError(terminator->getLoc())
<< "expected exit block terminator to be an `omp.yield` op.";
-
-
YieldOp yieldOp = llvm::cast<YieldOp>(terminator);
TypeRange yieldedTypes = yieldOp.getResults().getTypes();
``````````
</details>
https://github.com/llvm/llvm-project/pull/90456
More information about the Mlir-commits
mailing list