[Openmp-commits] [clang] [llvm] [openmp] [OpenMP][offload] Fix dynamic schedule tracking (PR #97065)
Gheorghe-Teodor Bercea via Openmp-commits
openmp-commits at lists.llvm.org
Fri Jun 28 10:24:04 PDT 2024
================
@@ -3044,6 +3046,9 @@ void CodeGenFunction::EmitOMPForOuterLoop(
OuterLoopArgs.DKind = LoopArgs.DKind;
EmitOMPOuterLoop(DynamicOrOrdered, IsMonotonic, S, LoopScope, OuterLoopArgs,
emitOMPLoopBodyWithStopPoint, CodeGenOrdered);
+ if (DynamicOrOrdered) {
----------------
doru1004 wrote:
They are handled together all over the place and that is the same condition under which the init is emitted so it has to be the same for deinit.
https://github.com/llvm/llvm-project/pull/97065
More information about the Openmp-commits
mailing list