This is an archive of the discontinued LLVM Phabricator instance.

[Clang][OpenMP][OMPBuilder] (4/4) Privatize `parallel` for `OMPBuilder`
Needs ReviewPublic

Authored by fghanim on Jun 9 2020, 10:07 AM.

Details

Reviewers
jdoerfert
Summary

Adding support/implementation of firstprivate to OMPBuilder's
implementation of omp parallel

Diff Detail

Event Timeline

fghanim created this revision.Jun 9 2020, 10:07 AM
fghanim marked 6 inline comments as done.Jun 9 2020, 10:31 AM
fghanim added inline comments.
clang/lib/CodeGen/CGStmtOpenMP.cpp
1777

Same as current implementation, with certain changes around the end. changes will be noted below.

1816

next line is new

1901

The else part below is almost entirely rewritten

1982

end of new impl.

2052

next line is new

2056

next line is new