This is an archive of the discontinued LLVM Phabricator instance.

[NFC][flang][OpenMP] Refactor the privatization positions
AbandonedPublic

Authored by peixin on Jun 16 2022, 5:21 AM.

Details

Summary

The previous implementation performs the privatization in the inner
operation, which is actually incorrect. The privatization position is
case-by-case issue. For example, if the private and firstprivate are
both in the combined construct of parallel worksharing-loop simd. The
private is for SIMD construct, the firstprivate is for worksharing-loop
construct. Add the clause set data type so that the clauses
implementation can be explicitly placed.

Diff Detail

Event Timeline

peixin created this revision.Jun 16 2022, 5:21 AM
peixin requested review of this revision.Jun 16 2022, 5:21 AM
peixin updated this revision to Diff 437510.Jun 16 2022, 5:26 AM

Fix one typo.

This might require a rebase

peixin planned changes to this revision.Aug 18 2022, 6:22 PM

Thanks @NimishMishra for the notice. Will do it later.

peixin abandoned this revision.Jul 6 2023, 6:16 PM