[all-commits] [llvm/llvm-project] dd05f1: [MLIR][OpenMP] Create `LoopRelatedClause`

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


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

  Changed paths:
    M mlir/include/mlir/Dialect/OpenMP/OpenMPClauses.td
    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/ops.mlir

  Log Message:
  -----------
  [MLIR][OpenMP] Create `LoopRelatedClause`

This patch introduces a new OpenMP clause definition not defined by the spec.

Its main purpose is to define the `loop_inclusive` (previously "inclusive",
renamed according to the parent of this PR in the stack) argument of
`omp.loop_nest` in such a way that a followup implementation of a tablegen
backend to automatically generate clause and operation operand structures
directly from `OpenMP_Op` and `OpenMP_Clause` definitions can properly generate
the `LoopNestOperands` structure.



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