[all-commits] [llvm/llvm-project] 8948a6: [MLIR][OpenMP] Automate operand structure definition
Sergio Afonso via All-commits
all-commits at lists.llvm.org
Wed Jul 31 04:01:27 PDT 2024
Branch: refs/heads/users/skatrak/normalize-clauses-05-tablegen
Home: https://github.com/llvm/llvm-project
Commit: 8948a6bd0f0ce8438fcf5b2b1e3c4d538d2fd782
https://github.com/llvm/llvm-project/commit/8948a6bd0f0ce8438fcf5b2b1e3c4d538d2fd782
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-07-31 (Wed, 31 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