[all-commits] [llvm/llvm-project] 843525: [MLIR][OpenMP] Add omp.wsloop operation

David Truby via All-commits all-commits at lists.llvm.org
Mon Nov 16 07:25:43 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 843525075b87b367f3d18754ef0a3e35dc2ed162
      https://github.com/llvm/llvm-project/commit/843525075b87b367f3d18754ef0a3e35dc2ed162
  Author: David Truby <david.truby at arm.com>
  Date:   2020-11-16 (Mon, 16 Nov 2020)

  Changed paths:
    M llvm/include/llvm/Frontend/OpenMP/OMP.td
    M mlir/include/mlir/Dialect/OpenMP/OpenMPDialect.h
    M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
    M mlir/test/Dialect/OpenMP/ops.mlir

  Log Message:
  -----------
  [MLIR][OpenMP] Add omp.wsloop operation

This adds a simple definition of a "workshare loop" operation for
the OpenMP MLIR dialect, excluding the "reduction" and "allocate"
clauses and without a custom parser and pretty printer.

The schedule clause also does not yet accept the modifiers that are
permitted in OpenMP 5.0.

Co-authored-by: Kiran Chandramohan <kiran.chandramohan at arm.com>

Reviewed By: ftynse, clementval

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




More information about the All-commits mailing list