diff options
author | Michael Kruse <llvm-project@meinersbur.de> | 2025-07-30 09:20:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-30 09:20:42 +0200 |
commit | 27f777e9c06daeb03efad9230fe080df2a3a94c5 (patch) | |
tree | 8950128b7b6bd7828f6a8f67732a53325ff887bc /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | d3b2bda19c8074d0f2e867ee82a90b52734f5bc4 (diff) | |
download | llvm-27f777e9c06daeb03efad9230fe080df2a3a94c5.zip llvm-27f777e9c06daeb03efad9230fe080df2a3a94c5.tar.gz llvm-27f777e9c06daeb03efad9230fe080df2a3a94c5.tar.bz2 |
[Flang][OpenMP] Skip DSA for canonical loops (#150593)
OpenMP loop transformations to not have data-sharing attributes and do
not explicitly privatize the loop variable. The DataSharingProcessor was
still used in #144785 because `createAndSetPrivatizedLoopVar` expected
it.
We skip that function and directly write to the loop variable. If the
loop variable is implicitly or explicitly privatized, it will be due to
surrounding OpenMP constructs such as `parallel`.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions