Page MenuHomePhabricator

[Flang][OpenMP] Fix issue in only a single nowait clause can appear on a sections directive.

Authored by sameeranjoshi on Sep 30 2020, 4:51 AM.



The OpenMP 5.0 standard restricts nowait clause to appear only once on sections
See OpenMP 5.0

  • 2.8.1
  • point 3 in restrictions.

Added a test with fix.

Diff Detail

Event Timeline

sameeranjoshi created this revision.Sep 30 2020, 4:51 AM
sameeranjoshi requested review of this revision.Sep 30 2020, 4:51 AM
This revision is now accepted and ready to land.Sep 30 2020, 5:34 AM
clementval added inline comments.Sep 30 2020, 6:44 AM

This should probably be done with TableGen but we can check that in another revision

Herald added a project: Restricted Project. · View Herald TranscriptOct 14 2020, 3:53 AM

An XFAIL was resolved when rebased and fixed in the commit.