diff options
author | Tom Eccles <tom.eccles@arm.com> | 2024-11-06 13:19:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-06 13:19:12 +0000 |
commit | 28452acac05de8dc64aa7ba76af70ac541667cdd (patch) | |
tree | c8d95d1187172162e9857392bbafb97bbe519550 /llvm/lib/Transforms/IPO/FunctionSpecialization.cpp | |
parent | f1f5220958eb02a7ca4aa21cb95df4746e91bc3b (diff) | |
download | llvm-28452acac05de8dc64aa7ba76af70ac541667cdd.zip llvm-28452acac05de8dc64aa7ba76af70ac541667cdd.tar.gz llvm-28452acac05de8dc64aa7ba76af70ac541667cdd.tar.bz2 |
[mlir][OpenMP] delayed privatisation for TASK (#114785)
This uses essentially an identical implementation to that used for
ParallelOp. The private variable allocation and deallocation use shared
functions to avoid code duplication. FIRSTPRIVATE variable copying uses
duplicated code for now because I anticipate the implementation
diverging in the near future once I store data for firstprivate
variables in the task description structure.
After enabling delayed privatisation for TASK in flang, one more test in
the fujitsu test suite passes (I haven't looked into why).
Diffstat (limited to 'llvm/lib/Transforms/IPO/FunctionSpecialization.cpp')
0 files changed, 0 insertions, 0 deletions