[all-commits] [llvm/llvm-project] d9f3b3: [MLIR][OpenMP] Automate operand structure definition

Sergio Afonso via All-commits all-commits at lists.llvm.org
Tue Sep 10 09:44:56 PDT 2024


  Branch: refs/heads/users/skatrak/normalize-clauses-05-tablegen
  Home:   https://github.com/llvm/llvm-project
  Commit: d9f3b3800cfcf64881bdb6b31c5b4416a255f7c1
      https://github.com/llvm/llvm-project/commit/d9f3b3800cfcf64881bdb6b31c5b4416a255f7c1
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-09-10 (Tue, 10 Sep 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/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.

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