This is an archive of the discontinued LLVM Phabricator instance.

[flang][openacc] Restrict branching out of data construct
ClosedPublic

Authored by clementval on Aug 18 2023, 2:59 PM.

Details

Summary

This restriction is not clearly stated in the OpenACC standard
but all other compilers enforce it and there no explanation to
what should happen if there is a branching out of the construct.
Add the restriction for now.

Diff Detail

Event Timeline

clementval created this revision.Aug 18 2023, 2:59 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 18 2023, 2:59 PM
clementval requested review of this revision.Aug 18 2023, 2:59 PM
clementval retitled this revision from [flang][openacc] Restrict branching in data construct to [flang][openacc] Restrict branching out of data construct.Aug 18 2023, 2:59 PM
vzakhari accepted this revision.Aug 21 2023, 7:57 AM

LGTM. Thank you!

This revision is now accepted and ready to land.Aug 21 2023, 7:57 AM
This revision was landed with ongoing or failed builds.Aug 21 2023, 8:38 AM
This revision was automatically updated to reflect the committed changes.