[Mlir-commits] [mlir] [mlir][OpenMP][NFC] - Minor fix in OpenMP ops documentation (PR #83598)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Mar 1 09:28:34 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir-openmp

Author: Pranav Bhandarkar (bhandarkar-pranav)

<details>
<summary>Changes</summary>

This patch is a minor formatting fix in the OpenMP ops documentation wherein the examples section in ``omp.private`` was breaking out into a top level list item.

---
Full diff: https://github.com/llvm/llvm-project/pull/83598.diff


1 Files Affected:

- (modified) mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td (+1-1) 


``````````diff
diff --git a/mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td b/mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
index f907e21e9b4de2..39ff49f0ccf541 100644
--- a/mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
+++ b/mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
@@ -162,7 +162,7 @@ def PrivateClauseOp : OpenMP_Op<"private", [IsolatedFromAbove]> {
     and how to initialize the copy from the original item in the copy region.
 
     Examples:
-    ---------
+
     * `private(x)` would be emitted as:
     ```mlir
     omp.private {type = private} @x.privatizer : !fir.ref<i32> alloc {

``````````

</details>


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


More information about the Mlir-commits mailing list