[PATCH] D28752: [OpenMP] Refactor code that calls codegen for target regions on the device.

Arpith Jacob via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 15 16:41:09 PST 2017


arpith-jacob created this revision.
arpith-jacob added reviewers: ABataev, sfantao, carlo.bertolli, kkwli0, caomhin, gtbercea.
arpith-jacob added a subscriber: cfe-commits.

This patch refactors code that calls codegen for target regions. Currently
the codebase only supports the 'target' directive. The patch pulls out
common target processing code into a static function that can be called
by codegen for any target directive.


https://reviews.llvm.org/D28752

Files:
  lib/CodeGen/CGOpenMPRuntime.cpp
  lib/CodeGen/CGStmtOpenMP.cpp
  lib/CodeGen/CodeGenFunction.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28752.84509.patch
Type: text/x-patch
Size: 8436 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170116/a6e549a5/attachment.bin>


More information about the cfe-commits mailing list