diff options
author | Sergio Afonso <safonsof@amd.com> | 2024-07-05 10:38:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-05 10:38:03 +0100 |
commit | 720b958953d1dd34c8e3a52588ab26c52edfc2a6 (patch) | |
tree | ab70a8e52f8607f31acee1907ab5daa466bb5164 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 0fbb3201c8c4dfdf5c9c2f5cf15449d1c4355f8d (diff) | |
download | llvm-720b958953d1dd34c8e3a52588ab26c52edfc2a6.zip llvm-720b958953d1dd34c8e3a52588ab26c52edfc2a6.tar.gz llvm-720b958953d1dd34c8e3a52588ab26c52edfc2a6.tar.bz2 |
[Flang][OpenMP] NFC: Share DataSharingProcessor creation logic for all loop directives (#97565)
This patch moves the logic associated with the creation of a
`DataSharingProcessor` instance for loop-associated OpenMP leaf
constructs to the `genOMPDispatch` function, avoiding code duplication
for standalone and composite loop constructs.
This also prevents privatization-related allocations to be later made
inside of loop wrappers when support for composite constructs is
implemented.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions