HomePhabricator

[Flang][OpenMP-5.0] Semantic checks for flush construct.

Authored by sameeranjoshi on Dec 14 2020, 12:00 AM.

Description

[Flang][OpenMP-5.0] Semantic checks for flush construct.

From OMP 5.0 [2.17.8]
Restriction:
If memory-order-clause is release,acquire, or acq_rel, list items must not be specified on the flush directive.

Reviewed By: kiranchandramohan, clementval

Differential Revision: https://reviews.llvm.org/D89879