HomePhabricator

[flang][OpenMP] Enhance parser support for taskwait construct to OpenMP 5.0

Authored by kiranktp on Jul 15 2020, 9:40 PM.

Description

[flang][OpenMP] Enhance parser support for taskwait construct to OpenMP 5.0

Summary:
This patch enhances parser support for taskwait construct to OpenMP 5.0.

2.17.5 taskwait Construct

!$omp taskwait [clause[ [,] clause] ... ]
        where clause is one of the following:
        depend([depend-modifier,]dependence-type : locator-list)

The patch includes code changes and testcase modifications.

Reviewed By: Valentin Clement, Kiran Chandramohan

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