[Mlir-commits] [mlir] c54064d - [mlir][OpenMP][NFC] - Minor fix in OpenMP ops documentation (#83598)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Mar 4 06:57:30 PST 2024
Author: Pranav Bhandarkar
Date: 2024-03-04T08:57:26-06:00
New Revision: c54064de80e93494d1d44550b56ce8f2f3cf9c4b
URL: https://github.com/llvm/llvm-project/commit/c54064de80e93494d1d44550b56ce8f2f3cf9c4b
DIFF: https://github.com/llvm/llvm-project/commit/c54064de80e93494d1d44550b56ce8f2f3cf9c4b.diff
LOG: [mlir][OpenMP][NFC] - Minor fix in OpenMP ops documentation (#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.
Added:
Modified:
mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
Removed:
################################################################################
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