This is an archive of the discontinued LLVM Phabricator instance.

[flang][openacc] Fix clause restriction for host_data directive
ClosedPublic

Authored by clementval on Jan 26 2021, 12:46 PM.

Details

Summary

Restriction on clauses for the HOST_DATA directive were not fully correct.
This patch fixes the situation. The if and if_present clauses are allowed
only once.

Diff Detail

Event Timeline

clementval requested review of this revision.Jan 26 2021, 12:46 PM
clementval created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJan 26 2021, 12:46 PM
clementval added a project: Restricted Project.Jan 26 2021, 12:46 PM
SouraVX accepted this revision.Jan 26 2021, 8:37 PM

LGTM! Thanks!

This revision is now accepted and ready to land.Jan 26 2021, 8:37 PM
This revision was landed with ongoing or failed builds.Jan 27 2021, 7:06 AM
This revision was automatically updated to reflect the committed changes.