HomePhabricator

[OpenMP]Add support for workshare loop modifier in lowering

Authored by MatsPetersson on Apr 30 2021, 6:13 AM.

Description

[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