[OpenMP] Base support for target directive codegen on NVPTX device.
Summary: This patch adds base support for codegen of the target directive on the NVPTX device. Reviewers: ABataev Differential Revision: http://reviews.llvm.org/D17877 Reworked test case after buildbot failure on windows. Updated patch to integrate r263837 and test case nvptx_target_firstprivate_codegen.cpp. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264018 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/CodeGen/CGOpenMPRuntime.cpp 10 additions, 0 deletionslib/CodeGen/CGOpenMPRuntime.cpp
- lib/CodeGen/CGOpenMPRuntime.h 24 additions, 5 deletionslib/CodeGen/CGOpenMPRuntime.h
- lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp 327 additions, 1 deletionlib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
- lib/CodeGen/CGOpenMPRuntimeNVPTX.h 110 additions, 0 deletionslib/CodeGen/CGOpenMPRuntimeNVPTX.h
- test/OpenMP/nvptx_target_codegen.cpp 581 additions, 0 deletionstest/OpenMP/nvptx_target_codegen.cpp
Loading
Please register or sign in to comment