Unverified Commit 6542e566 authored by Leandro Lupori's avatar Leandro Lupori Committed by GitHub
Browse files

[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
parent 9d9bd764
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment