[PATCH] D28753: [OpenMP] Codegen support for 'target parallel' on the host.

Arpith Jacob via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 17 09:38:07 PST 2017


arpith-jacob updated this revision to Diff 84689.
arpith-jacob added a comment.

The patch was updated to split 'emitParallelOrTeamsOutlinedFunction' into 'emitParallelOutlinedFunction' and 'emitTeamsOutlinedFunction' to enable the use of getCapturedStmt().

Also updated an assert statement for correctness and the switch in getCapturedStmt() to not depend on the input argument.


https://reviews.llvm.org/D28753

Files:
  include/clang/AST/StmtOpenMP.h
  include/clang/Basic/OpenMPKinds.h
  include/clang/Sema/Sema.h
  lib/Basic/OpenMPKinds.cpp
  lib/CodeGen/CGOpenMPRuntime.cpp
  lib/CodeGen/CGOpenMPRuntime.h
  lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
  lib/CodeGen/CGOpenMPRuntimeNVPTX.h
  lib/CodeGen/CGStmtOpenMP.cpp
  lib/CodeGen/CodeGenFunction.h
  lib/Sema/SemaOpenMP.cpp
  lib/Sema/TreeTransform.h
  test/OpenMP/target_parallel_codegen.cpp
  test/OpenMP/target_parallel_codegen_registration.cpp
  test/OpenMP/target_parallel_codegen_registration_naming.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28753.84689.patch
Type: text/x-patch
Size: 101806 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170117/1bbe1a2d/attachment-0001.bin>


More information about the cfe-commits mailing list