This is an archive of the discontinued LLVM Phabricator instance.

[flang][openacc] Add basic lowering to new data operations for acc.enter_data
ClosedPublic

Authored by clementval on Apr 19 2023, 8:49 AM.

Details

Summary

This is an initial patch that lowers acc.enter_data copyin/create/attach
clauses to the newly added data operand operations. Follow up patches will
add support for array section and derived type and derived type component
as well as support in other data operation.

Diff Detail

Event Timeline

clementval created this revision.Apr 19 2023, 8:49 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptApr 19 2023, 8:49 AM
clementval requested review of this revision.Apr 19 2023, 8:49 AM
razvanlupusoru accepted this revision.Apr 19 2023, 1:53 PM

Looks great! Thanks for all of your test updates - it made me realize that we should get rid of decomposedFrom field: https://reviews.llvm.org/D148731
If you don't mind rebasing on top of that once I submit (waiting for green buildbots), that would be great.

This revision is now accepted and ready to land.Apr 19 2023, 1:53 PM

Remove decomposedFrom

Depends on D148731

Rebase + clang-format

razvanlupusoru accepted this revision.Apr 19 2023, 3:13 PM