[all-commits] [llvm/llvm-project] ca8180: [Flang][OpenMP] Refactor to properly fix privatisa...
kiranchandramohan via All-commits
all-commits at lists.llvm.org
Mon Jun 5 09:04:57 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ca81808cc31074198663eb4beb904f490598d14f
https://github.com/llvm/llvm-project/commit/ca81808cc31074198663eb4beb904f490598d14f
Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
Date: 2023-06-05 (Mon, 05 Jun 2023)
Changed paths:
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/OpenMP.cpp
M flang/test/Lower/OpenMP/parallel-lastprivate-clause-scalar.f90
M flang/test/Lower/OpenMP/parallel-private-clause-fixes.f90
M flang/test/Lower/OpenMP/parallel-wsloop-firstpriv.f90
M flang/test/Lower/OpenMP/parallel-wsloop.f90
M flang/test/Lower/OpenMP/single.f90
Log Message:
-----------
[Flang][OpenMP] Refactor to properly fix privatisation of loop bounds
The OpenMP loop Operations have the bounds attached to them. If the
loop bounds are privatised then the privatisation has to happen
before the loop operation is created. To do this the privatisation
is split into two steps. The first step performs cloning and
firstprivate handling, the second step performs lastprivate handling.
This also reverts the changes in the temporary fix (D127137).
Fixes https://github.com/flang-compiler/f18-llvm-project/issues/1171#issuecomment-1143880545
Fixes https://github.com/flang-compiler/f18-llvm-project/issues/1171#issuecomment-1119997442
Fixes #60872
Reviewed By: NimishMishra
Differential Revision: https://reviews.llvm.org/D151504
More information about the All-commits
mailing list