[OpenMP] Add missing `tt_hidden_helper_task_encountered` along with `tt_found_proxy_t...
authorShilei Tian <i@tianshilei.me>
Thu, 30 Dec 2021 04:22:37 +0000 (23:22 -0500)
committerShilei Tian <i@tianshilei.me>
Thu, 30 Dec 2021 04:22:53 +0000 (23:22 -0500)
commit458db51c101bc3372e96b71bda7ca0f5ba2ae431
treecf41e39808d112b0d0cb117c629131005e9ff054
parent1dd5e6fed5dbfe105451277d749e3c4240b925c4
[OpenMP] Add missing `tt_hidden_helper_task_encountered` along with `tt_found_proxy_tasks`

In most cases, hidden helper task behave similar as detached tasks. That means,
for example, if we have to wait for detached tasks, we have to do the same thing
for hidden helper tasks as well. This patch adds the missing condition for hidden
helper task accordingly along with detached task.

Reviewed By: AndreyChurbanov

Differential Revision: https://reviews.llvm.org/D107316
openmp/libomptarget/test/offloading/target_nowait_target.cpp [new file with mode: 0644]
openmp/runtime/src/kmp_barrier.cpp
openmp/runtime/src/kmp_csupport.cpp
openmp/runtime/src/kmp_runtime.cpp
openmp/runtime/src/kmp_taskdeps.cpp
openmp/runtime/src/kmp_tasking.cpp