]> granicus.if.org Git - clang/commit
[OPENMP] Fix PR34916: Crash on mixing taskloop|tasks directives.
authorAlexey Bataev <a.bataev@hotmail.com>
Wed, 11 Oct 2017 15:29:40 +0000 (15:29 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Wed, 11 Oct 2017 15:29:40 +0000 (15:29 +0000)
commit5288ea1496b01a95b269ac6d6825bedb5c7a14c7
treecbb2588b7f2eb97a1bc19791f81ad5bc17d4ec94
parent537401c562b3473178816ee49e09e4a2ab49e061
[OPENMP] Fix PR34916: Crash on mixing taskloop|tasks directives.

If both taskloop and task directives are used at the same time in one
program, we may ran into the situation when the particular type for task
directive is reused for taskloop directives. Patch fixes this problem.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@315464 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGOpenMPRuntime.cpp
lib/CodeGen/CGOpenMPRuntime.h
test/OpenMP/taskloop_codegen.cpp