ADD support to allow omp single to be CG-ed by the OMPBuilder. This
also uses the OMPBuilder to generate __kmpc_copyprivate calls.
Details
Details
- Reviewers
jdoerfert hfinkel kiranchandramohan
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Before I start, Why is this change all new code and no modification or deletion of existing Clang functionality for omp single/copyprivate?
Comment Actions
Because the OMPBuilder currently is not the default way to CG OMP code in clang, which means the old way needs to keep working. So, we cannot delete or modify anything, we can only add the OMPBuilder specific code, and condition its usage on whether -fopenmp-enable-irbuilder flag has been issued, or not.
clang-format not found in user's PATH; not linting file.