[all-commits] [llvm/llvm-project] 72e944: [MLIR][OpenMP] Allow the single operation to have ...

kiranchandramohan via All-commits all-commits at lists.llvm.org
Mon Oct 31 03:48:49 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 72e9447e29abf111c742da59afe4152150a2f8e7
      https://github.com/llvm/llvm-project/commit/72e9447e29abf111c742da59afe4152150a2f8e7
  Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
  Date:   2022-10-31 (Mon, 31 Oct 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
    M mlir/test/Dialect/OpenMP/ops.mlir

  Log Message:
  -----------
  [MLIR][OpenMP] Allow the single operation to have a region

The OpenMP standard specifies the region inside to be a structured
block. This means that branches into or out of the region is not
permitted but branches are permitted inside the OpenMP single region.
This is currently modeled by having a region of kind `AnyRegion` for
all the OpenMP ops. In future we can have a more strictly defined
region.

Fixes #58396.

Reviewed By: peixin

Differential Revision: https://reviews.llvm.org/D137023




More information about the All-commits mailing list