]> granicus.if.org Git - clang/commit
[OPENMP] Emit implicit taskgroup block around taskloop directives.
authorAlexey Bataev <a.bataev@hotmail.com>
Wed, 12 Jul 2017 18:09:32 +0000 (18:09 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Wed, 12 Jul 2017 18:09:32 +0000 (18:09 +0000)
commit9a439088f2879ea18b67cbf3c583ab7c8928a521
treeb0afee80a21b8dbd22d0ec635c5b4ee88389f815
parentddf44dafd4c3aaed246fe1856db9e04ba3549245
[OPENMP] Emit implicit taskgroup block around taskloop directives.

If taskloop directive has no associated nogroup clause, it must emitted
inside implicit taskgroup block. Runtime supports it, but we need to
generate implicit taskgroup block explicitly to support future
reductions codegen.

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