Fixed problem introduced by part of https://reviews.llvm.org/D21196.
authorAndrey Churbanov <Andrey.Churbanov@intel.com>
Tue, 1 Nov 2016 16:19:04 +0000 (16:19 +0000)
committerAndrey Churbanov <Andrey.Churbanov@intel.com>
Tue, 1 Nov 2016 16:19:04 +0000 (16:19 +0000)
commit51107e0abcf05477d3dd3bf97e217b18ed84b215
tree8b819a03f6ece268063dc2564ed4476c8d8667ba
parent1408bf7231c22bce70fea5470a865955ee40399b
Fixed problem introduced by part of https://reviews.llvm.org/D21196.

Check Task Scheduling Constraint (TSC) on stealing of untied task.
This is needed because the untied task can produce tied children
those can break TSC if untied is not a descendant of current task.
This can cause live lock on complex tyasking tests
(e.g. kastors/strassen-task-dep).

Differential Revision: https://reviews.llvm.org/D26182

llvm-svn: 285703
openmp/runtime/src/kmp_tasking.c