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

Pranav Bhandarkar llvmlistbot at llvm.org
Fri Mar 1 09:28:03 PST 2024


https://github.com/bhandarkar-pranav created https://github.com/llvm/llvm-project/pull/83598

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.

>From cf6e54db8484e4848242f53cde165ef711c4010f Mon Sep 17 00:00:00 2001
From: Pranav Bhandarkar <pranav.bhandarkar at amd.com>
Date: Fri, 1 Mar 2024 11:25:10 -0600
Subject: [PATCH] [mlir][OpenMP][NFC] - Minor fix in OpenMP ops documentation

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.
---
 mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 {



More information about the Mlir-commits mailing list