[all-commits] [llvm/llvm-project] 20213d: [MLIR][OpenMP] Add missing clauses to OpenMP op de...

Sergio Afonso via All-commits all-commits at lists.llvm.org
Thu Jul 18 07:57:36 PDT 2024


  Branch: refs/heads/users/skatrak/normalize-clauses-04-missing-clauses
  Home:   https://github.com/llvm/llvm-project
  Commit: 20213d580acb3f76b45ec5d85e1f717bccd97f81
      https://github.com/llvm/llvm-project/commit/20213d580acb3f76b45ec5d85e1f717bccd97f81
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-07-18 (Thu, 18 Jul 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
    M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.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