[all-commits] [llvm/llvm-project] c80e6f: [MLIR][OpenMP] Add missing clauses to OpenMP op de...
Sergio Afonso via All-commits
all-commits at lists.llvm.org
Fri Jul 26 03:12:25 PDT 2024
Branch: refs/heads/users/skatrak/normalize-clauses-04-missing-clauses
Home: https://github.com/llvm/llvm-project
Commit: c80e6f18eabfc05804c1ac5320bf12af756f5b79
https://github.com/llvm/llvm-project/commit/c80e6f18eabfc05804c1ac5320bf12af756f5b79
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M mlir/include/mlir/Dialect/OpenMP/OpenMPClauseOperands.h
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/test/Dialect/OpenMP/invalid.mlir
M mlir/test/Dialect/OpenMP/ops.mlir
Log Message:
-----------
[MLIR][OpenMP] Add missing clauses to OpenMP op definitions
This patch adds the missing `OpenMP_Clause` definitions to all existing
`OpenMP_Op`s and updates their operand structure based builders to initialize
the new arguments.
The result of this change is that operation operand structures are now based in
the same list of clauses as their tablegen counterparts. This means that all of
the information needed is now in place to automatically generate OpenMP operand
structures from tablegen defitions.
Since this change doesn't involve the introduction of actual support for these
clauses, new arguments are not initialized from values stored in the
corresponding operand structure fields but rather set to empty or null. Those
should be updated when support for these clauses on the corresponding operation
is added.
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