[all-commits] [llvm/llvm-project] 893b8d: [MLIR][OpenMP] Automate operand structure definition
Sergio Afonso via All-commits
all-commits at lists.llvm.org
Fri Jul 26 03:36:48 PDT 2024
Branch: refs/heads/users/skatrak/normalize-clauses-05-tablegen
Home: https://github.com/llvm/llvm-project
Commit: 893b8de7264be5c290db38adee66b7e00d4b6fe6
https://github.com/llvm/llvm-project/commit/893b8de7264be5c290db38adee66b7e00d4b6fe6
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.h
M mlir/include/mlir/Dialect/OpenMP/CMakeLists.txt
M mlir/include/mlir/Dialect/OpenMP/OpenMPClauseOperands.h
M mlir/include/mlir/IR/CommonAttrConstraints.td
M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
A mlir/test/mlir-tblgen/openmp-clause-ops.td
M mlir/tools/mlir-tblgen/OmpOpGen.cpp
Log Message:
-----------
[MLIR][OpenMP] Automate operand structure definition
This patch adds the "gen-openmp-clause-ops" `mlir-tblgen` generator to produce
the structure definitions previously in OpenMPClauseOperands.h automatically
from the information contained in OpenMPOps.td and OpenMPClauses.td.
Changes introduced to the `ElementsAttrBase` common tablegen class, as well as
some of its subclasses, add more fine-grained information on their shape and
type of their elements. This information is needed in order to properly
generate the corresponding types to represent these attributes within the
produced operand structures.
The original header is maintained to enable the definition of similar
structures that are not directly related to any single `OpenMP_Clause` or
`OpenMP_Op` tablegen definition.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list