[all-commits] [llvm/llvm-project] 7af7e9: [Flang][OpenMP][Lower] Use clause operand structures
Sergio Afonso via All-commits
all-commits at lists.llvm.org
Wed Mar 27 05:53:35 PDT 2024
Branch: refs/heads/users/skatrak/spr/clause-operands-02-flang
Home: https://github.com/llvm/llvm-project
Commit: 7af7e9d13fc2134e76bb532bfa4313aa3df17924
https://github.com/llvm/llvm-project/commit/7af7e9d13fc2134e76bb532bfa4313aa3df17924
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-03-27 (Wed, 27 Mar 2024)
Changed paths:
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.h
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
M flang/lib/Lower/OpenMP/DataSharingProcessor.h
M flang/lib/Lower/OpenMP/OpenMP.cpp
Log Message:
-----------
[Flang][OpenMP][Lower] Use clause operand structures
This patch updates Flang lowering to use the new set of OpenMP clause operand
structures and their groupings into directive-specific sets of clause operands.
It simplifies the passing of information from the clause processor and the
creation of operations.
The `DataSharingProcessor` is slightly modified to not hold delayed
privatization state. Instead, optional arguments are added to `processStep1`
which are only passed when delayed privatization is used. This enables using
the clause operand structure for `private` and removes the need for the ad-hoc
`DelayedPrivatizationInfo` structure.
The processing of the `schedule` clause is updated to process the `chunk`
modifier rather than requiring two separate calls to the `ClauseProcessor`.
Lowering of a block-associated `ordered` construct is updated to emit a TODO
error if the `simd` clause is specified, since it is not currently supported by
the `ClauseProcessor` or later compilation stages.
Removed processing of `schedule` from `omp.simdloop`, as it doesn't apply to
`simd` constructs.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list