This is an archive of the discontinued LLVM Phabricator instance.

[openacc] Allow async, wait and device_type on the data construct
ClosedPublic

Authored by clementval on Jun 28 2023, 3:01 PM.

Details

Summary

From OpenACC 3.2 specification:
The async, wait, and device_type clauses may be specified on data
constructs.

This patch adds these clauses in the ACC.td file and adds some tests
for them in flang parsing.

Diff Detail

Event Timeline

clementval created this revision.Jun 28 2023, 3:01 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 28 2023, 3:01 PM
Herald added a subscriber: sunshaoce. · View Herald Transcript
clementval requested review of this revision.Jun 28 2023, 3:01 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 28 2023, 3:01 PM
razvanlupusoru accepted this revision.Jun 29 2023, 9:13 AM

Looks great.

This revision is now accepted and ready to land.Jun 29 2023, 9:13 AM