This is an archive of the discontinued LLVM Phabricator instance.

[flang][openacc] Add initial support to lower private clause to the new design
ClosedPublic

Authored by clementval on May 19 2023, 8:43 AM.

Details

Summary

This patch adds the initial infrastructure to lower the private clause to the
new design introduced in D150622. The init region is not implemented yet
and currently only yield the input argument (semantic is then similar with the previous
design currently). Implementation will come in a follow up patch to keep patch.

This patch also re-enable test commented out for acc serial, acc serial loop,
acc parallel and acc parallel loop with private clause.

Depends on D150972, D150973

Diff Detail

Event Timeline

clementval created this revision.May 19 2023, 8:43 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMay 19 2023, 8:43 AM
clementval requested review of this revision.May 19 2023, 8:43 AM

Remove commented code

clementval edited the summary of this revision. (Show Details)May 19 2023, 8:48 AM

Remove comment

jeanPerier accepted this revision.May 22 2023, 7:41 AM

Looks good

This revision is now accepted and ready to land.May 22 2023, 7:41 AM
razvanlupusoru accepted this revision.May 22 2023, 7:46 AM

Seems like a great start to privatization support.