Modified the OMPBuilderCBHelpers in the following ways:
- Moved location of class definition and deleted all constructors
- Moved OpenMP-specific address allocation of local variables
- Moved threadprivate variable creation for the current thread
Paths
| Differential D79676
[Clang][OpenMP][OMPBuilder] Moving OMP allocation and cache creation code to OMPBuilderCBHelpers ClosedPublic Authored by fghanim on May 9 2020, 12:44 PM.
Details Summary Modified the OMPBuilderCBHelpers in the following ways:
Diff Detail
Event Timelinefghanim added a parent revision: D79675: [OpenMP][OMPBuilder] Adding Privatization Requirements to OMPIRBuilder.May 9 2020, 12:47 PM fghanim added a child revision: D79677: [Clang][OpenMP][OMPBuilder] (1/4) Privatize `parallel` for `OMPBuilder`.
fghanim added inline comments.
Comment Actions Interesting that no tests changed but I guess we just start the move to the IRBUilder. I think there are two minor comments from before that need to be addressed and the alloca thing, otherwise LGTM.
This revision is now accepted and ready to land.May 14 2020, 9:08 PM fghanim added a child revision: D81483: [Clang][OpenMP][OMPBuilder] (3/4) Privatize `parallel` for `OMPBuilder`.Jun 9 2020, 10:12 AM fghanim added a child revision: D81484: [Clang][OpenMP][OMPBuilder] (4/4) Privatize `parallel` for `OMPBuilder`. fghanim added a child revision: D81482: [Clang][OpenMP][OMPBuilder] (2/4) Privatize `parallel` for `OMPBuilder`. fghanim removed a child revision: D79677: [Clang][OpenMP][OMPBuilder] (1/4) Privatize `parallel` for `OMPBuilder`. Closed by commit rG80e15b4574f4: [Clang][OpenMP][OMPBuilder] Moving OMP allocation and cache creation code to… (authored by fghanim). · Explain WhyJun 28 2020, 5:10 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 273983 clang/lib/CodeGen/CGDecl.cpp
clang/lib/CodeGen/CGExpr.cpp
clang/lib/CodeGen/CGStmtOpenMP.cpp
clang/lib/CodeGen/CodeGenFunction.h
|
Is this needed?