Files
clang-p2996/flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
Leandro Lupori 6542e5663d [flang][OpenMP] Move privatizations out of sections (#88191)
Besides duplicating code, privatizing variables in every section
causes problems when synchronization barriers are used. This
happens because each section is executed by a given thread, which
will cause the program to hang if not all running threads execute
the barrier operation.

Fixes https://github.com/llvm/llvm-project/issues/72824
2024-05-06 13:14:18 -03:00

21 KiB