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

Sergio Afonso via All-commits all-commits at lists.llvm.org
Fri Jul 26 03:07:05 PDT 2024


  Branch: refs/heads/users/skatrak/normalize-clauses-03-looprelated
  Home:   https://github.com/llvm/llvm-project
  Commit: 96ddba7f30440a83602e8f89d1193813a03dceee
      https://github.com/llvm/llvm-project/commit/96ddba7f30440a83602e8f89d1193813a03dceee
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-07-26 (Fri, 26 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.


  Commit: 52ec167e31ab8b1135d797de11eb982f3e55af97
      https://github.com/llvm/llvm-project/commit/52ec167e31ab8b1135d797de11eb982f3e55af97
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-07-26 (Fri, 26 Jul 2024)

  Changed paths:
    M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
    M flang/lib/Lower/OpenMP/ClauseProcessor.h
    M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
    M mlir/include/mlir/Dialect/OpenMP/OpenMPClauseOperands.h
    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

  Log Message:
  -----------
  Merge CollapseClause arguments into LoopRelatedClause


Compare: https://github.com/llvm/llvm-project/compare/dd05f1e30b04...52ec167e31ab

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