aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorAndreyChurbanov <andrey.churbanov@intel.com>2021-10-18 19:48:30 +0300
committerAndreyChurbanov <andrey.churbanov@intel.com>2021-10-18 19:48:30 +0300
commit63f8099e233c37bae1dcf2629ec62db8de6cc356 (patch)
treec1e7bebea07e3e51ac9cff3eed5253a1ea3bc61d /llvm/lib/Transforms/Utils/LoopUtils.cpp
parent8568ca789ec105ed96196d82c861116540433b89 (diff)
downloadllvm-63f8099e233c37bae1dcf2629ec62db8de6cc356.zip
llvm-63f8099e233c37bae1dcf2629ec62db8de6cc356.tar.gz
llvm-63f8099e233c37bae1dcf2629ec62db8de6cc356.tar.bz2
[OpenMP] libomp: add check of task function pointer for NULL.
This patch allows to simplify compiler implementation on "taskwait nowait" construct. The "taskwait nowait" is semantically equivalent to the empty task. Instead of creating an empty routine as a task entry, compiler can just send NULL pointer to the runtime. Then the runtime will make all the work with dependences and return because of the absent task routine. Differential Revision: https://reviews.llvm.org/D112015
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions