This is an archive of the discontinued LLVM Phabricator instance.

[flang][openacc] Relax clause rule on routine directive
ClosedPublic

Authored by clementval on Jun 27 2023, 10:10 AM.

Details

Summary

Some compiler treat acc routine without a parallelism clause as
if seq is present. Relax the parser rule to allow acc routine
without clause. The default clause will be handled in lowering.

Diff Detail

Event Timeline

clementval created this revision.Jun 27 2023, 10:10 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 27 2023, 10:10 AM
Herald added a subscriber: sunshaoce. · View Herald Transcript
clementval requested review of this revision.Jun 27 2023, 10:10 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 27 2023, 10:10 AM
razvanlupusoru accepted this revision.Jun 27 2023, 5:18 PM

This part looks great.

This revision is now accepted and ready to land.Jun 27 2023, 5:18 PM