[all-commits] [llvm/llvm-project] 8e29b4: [OpenMP] libomp: taskwait depend implementation fi...
Andrey Churbanov via All-commits
all-commits at lists.llvm.org
Tue Aug 3 05:45:39 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8e29b4b323b87f3855dc71abf1e3f3d48952a4e4
https://github.com/llvm/llvm-project/commit/8e29b4b323b87f3855dc71abf1e3f3d48952a4e4
Author: AndreyChurbanov <andrey.churbanov at intel.com>
Date: 2021-08-03 (Tue, 03 Aug 2021)
Changed paths:
M openmp/runtime/src/kmp_taskdeps.cpp
M openmp/runtime/src/kmp_taskdeps.h
A openmp/runtime/test/tasking/kmp_taskwait_depend_in.c
Log Message:
-----------
[OpenMP] libomp: taskwait depend implementation fixed.
Fix for https://bugs.llvm.org/show_bug.cgi?id=49723.
Eliminated references from task dependency hash to node allocated on stack,
thus eliminated accesses to stale memory. So the node now never freed.
Uncommented assertion which triggered when stale memory accessed.
Removed unneeded ref count increment for stack allocated node.
Differential Revision: https://reviews.llvm.org/D106705
More information about the All-commits
mailing list