[llvm-branch-commits] [mlir] [MLIR][OpenMP] Automate operand structure definition (PR #99508)
Michael Kruse via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Jul 19 05:31:15 PDT 2024
================
@@ -148,6 +169,110 @@ static void verifyClause(Record *op, Record *clause) {
"or explicitly skipping this field.");
}
+/// Translate the type of an OpenMP clause's argument to its corresponding
+/// representation for clause operand structures.
+///
+/// All kinds of values are represented as `mlir::Value` fields, whereas
+/// attributes are represented based on their `storageType`.
+///
+/// \param[in] init The `DefInit` object representing the argument.
+/// \param[out] rank Number of levels of array nesting associated with the
+/// type.
----------------
Meinersbur wrote:
[nit] indention
```suggestion
/// \param[out] rank Number of levels of array nesting associated with the
/// type.
```
https://github.com/llvm/llvm-project/pull/99508
More information about the llvm-branch-commits
mailing list