[all-commits] [llvm/llvm-project] ea4c5f: [OpenMP]Add support for workshare loop modifier in...

Mats Petersson via All-commits all-commits at lists.llvm.org
Thu May 27 04:31:08 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea4c5fb04c6d9618d451fb2d2c360dc95c6d9131
      https://github.com/llvm/llvm-project/commit/ea4c5fb04c6d9618d451fb2d2c360dc95c6d9131
  Author: Mats Petersson <mats.petersson at arm.com>
  Date:   2021-05-27 (Thu, 27 May 2021)

  Changed paths:
    M llvm/include/llvm/Frontend/OpenMP/OMPConstants.h
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

  Log Message:
  -----------
  [OpenMP]Add support for workshare loop modifier in lowering

When lowering the dynamic, guided, auto and runtime types of scheduling,
there is an optional monotonic or non-monotonic modifier. This patch
adds support in the OMP IR Builder to pass this down to the runtime
functions.

Also implements tests for the variants.

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




More information about the All-commits mailing list