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

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


  Branch: refs/heads/users/skatrak/block-args-05-section
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ebd822874a3b8527c7d3c4cbda2137193a34940
      https://github.com/llvm/llvm-project/commit/2ebd822874a3b8527c7d3c4cbda2137193a34940
  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