This is an archive of the discontinued LLVM Phabricator instance.

[flang][openacc] Relax rule for end directive on combined construct
ClosedPublic

Authored by clementval on May 31 2023, 4:33 PM.

Details

Summary

Make the keyword loop optional for the end driective on combined
construct. This done to extend compatibility with other compiler that
allow this.

Diff Detail

Event Timeline

clementval created this revision.May 31 2023, 4:33 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
Herald added a subscriber: sunshaoce. · View Herald Transcript
clementval requested review of this revision.May 31 2023, 4:33 PM
razvanlupusoru accepted this revision.Jun 13 2023, 10:33 AM

Thank you for relaxing this constraint.

flang/test/Semantics/OpenACC/acc-canonicalization-validity.f90
60

Should this be removed?

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

Rebase + restore commented check

razvanlupusoru accepted this revision.Jun 13 2023, 1:31 PM

Looks great to me! Thank you!

This revision was landed with ongoing or failed builds.Jun 13 2023, 1:58 PM
This revision was automatically updated to reflect the committed changes.