mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[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
This commit is contained in:
parent
d67d0200e4
commit
62537b4233
@ -312,7 +312,11 @@ def OMP_Critical : Directive<"critical"> {
|
||||
}
|
||||
def OMP_TaskYield : Directive<"taskyield"> {}
|
||||
def OMP_Barrier : Directive<"barrier"> {}
|
||||
def OMP_TaskWait : Directive<"taskwait"> {}
|
||||
def OMP_TaskWait : Directive<"taskwait"> {
|
||||
let allowedClauses = [
|
||||
VersionedClause<OMPC_Depend, 50>
|
||||
];
|
||||
}
|
||||
def OMP_TaskGroup : Directive<"taskgroup"> {
|
||||
let allowedClauses = [
|
||||
VersionedClause<OMPC_TaskReduction>,
|
||||
|
Loading…
Reference in New Issue
Block a user