[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
Showing
- lib/CodeGen/CGOpenMPRuntime.cpp 12 additions, 7 deletionslib/CodeGen/CGOpenMPRuntime.cpp
- lib/CodeGen/CGStmtOpenMP.cpp 12 additions, 1 deletionlib/CodeGen/CGStmtOpenMP.cpp
- test/OpenMP/taskloop_codegen.cpp 5 additions, 1 deletiontest/OpenMP/taskloop_codegen.cpp
- test/OpenMP/taskloop_simd_codegen.cpp 5 additions, 1 deletiontest/OpenMP/taskloop_simd_codegen.cpp
Loading
Please register or sign in to comment