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

Sergio Afonso via All-commits all-commits at lists.llvm.org
Wed Sep 11 03:45:48 PDT 2024


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