| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-04-10 | [OpenMP][CodeGen] Improved codegen for combined loop directives (#87278) | David Pagan | |
| IR for 'target teams loop' is now dependent on suitability of associated loop-nest. If a loop-nest: - does not contain a function call, or - the -fopenmp-assume-no-nested-parallelism has been specified, - or the call is to an OpenMP API AND - does not contain nested loop bind(parallel) directives then it can be emitted as 'target teams distribute parallel for', which is the current default. Otherwise, it is emitted as 'target teams distribute'. Added debug output indicating how 'target teams loop' was emitted. Flag is -mllvm -debug-only=target-teams-loop-codegen Added LIT tests explicitly verifying 'target teams loop' emitted as a parallel loop and a distribute loop. Updated other 'loop' related tests as needed to reflect change in IR. - These updates account for most of the changed files and additions/deletions. | |||
| 2024-03-12 | [clang] Fix OMPT ident flag in combined distribute parallel for pragma (#80987) | mikaoP | |
| Authored-by: Raúl Peñacoba Veigas <rpenacob@bsc.es> | |||
| 2023-07-05 | [OpenMP][CodeGen] Add codegen for combined 'loop' directives. | Dave Pagan | |
| The loop directive is a descriptive construct which allows the compiler flexibility in how it generates code for the directive's associated loop(s). See OpenMP specification 5.2 [257:8-9]. Codegen added in this patch for the combined 'loop' directives are: 'target teams loop' -> 'target teams distribute parallel for' 'teams loop' -> 'teams distribute parallel for' 'target parallel loop' -> 'target parallel for' 'parallel loop' -> 'parallel for' NOTE: The implementation of the 'loop' directive itself is unchanged. Differential Revision: https://reviews.llvm.org/D145823 | |||
