[all-commits] [llvm/llvm-project] 4bc376: [MLIR][OpenMP] Improve omp.section block arguments...

Sergio Afonso via All-commits all-commits at lists.llvm.org
Tue Oct 1 08:13:49 PDT 2024


  Branch: refs/heads/users/skatrak/block-args-05-section
  Home:   https://github.com/llvm/llvm-project
  Commit: 4bc376d594a8d2a3050d6980507c131591e0fbf3
      https://github.com/llvm/llvm-project/commit/4bc376d594a8d2a3050d6980507c131591e0fbf3
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-10-01 (Tue, 01 Oct 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] Improve omp.section block arguments handling

The `omp.section` operation is an outlier in that the block arguments it has
are defined by clauses on the required parent `omp.sections` operation.

This patch updates the definition of this operation introducing the
`BlockArgOpenMPOpInterface` to simplify the handling and verification of these
block arguments, implemented based on the parent `omp.sections`.



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