This patch moves some of the logic on how to emit target region functions and
adds emitTargetRegionFunction to the OpenMPIRBuilder. Also the
OpenMPOffloadMandatory flag is added to the config.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D139634
[OpenMP][OMPIRBuilder] Migrate code to emit target region functions from clang to OMPIRBuilder ClosedPublic Authored by jsjodin on Dec 8 2022, 8:10 AM.
Details Summary This patch moves some of the logic on how to emit target region functions and
Diff Detail Event TimelineThis revision is now accepted and ready to land.Dec 8 2022, 11:14 AM Closed by commit rG1f8fecf26b35: [OpenMP][OMPIRBuilder] Migrate code to emit target region functions from clang… (authored by jsjodin). · Explain WhyDec 12 2022, 7:31 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 481662 clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
|
minor comment mishap