[flang-commits] [flang] [mlir] [flang][OpenMP] Enable delayed privatization by default `omp.wsloop` (PR #122471)
Leandro Lupori via flang-commits
flang-commits at lists.llvm.org
Wed Jan 15 08:50:00 PST 2025
luporl wrote:
> It is indeed a bug and a weird one 🤔. When `lastprivate` is used, the arguments of `copy` block in the privatizer are swtiched:
`copyHostAssociateVar()` switches the copy direction when `sym` has `Flag::OmpLastPrivate` set (and `copyAssignIP` is not null).
https://github.com/llvm/llvm-project/pull/122471
More information about the flang-commits
mailing list