[PATCH] D93091: [Flang] [OpenMP] Add semantic checks for OpenMP Workshare Construct
Praveen G via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 11 00:04:10 PST 2020
praveen created this revision.
praveen added reviewers: kiranchandramohan, kiranktp, sameeranjoshi, clementval, SouraVX.
Herald added subscribers: jfb, guansong, yaxunl.
praveen requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, sstefan1.
Herald added a project: LLVM.
Add Semantic checks for OpenMP 4.5 - 2.7.4 Workshare Construct
- The structured block in a worksahre construct may consist of only scalar or array assignments, forall or where statements, forall, where, atomic, critical or parallel constructs
- All array assignments, scalar assignments, and masked array assignments must be intrinsic assignments.
- The construct must not contain any user defined function calls unless the function is ELEMENTAL.
Resolve related test cases marked XFAIL
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D93091
Files:
flang/lib/Semantics/check-omp-structure.cpp
flang/lib/Semantics/check-omp-structure.h
flang/test/Semantics/omp-workshare01.f90
flang/test/Semantics/omp-workshare02.f90
flang/test/Semantics/omp-workshare03.f90
flang/test/Semantics/omp-workshare04.f90
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93091.311125.patch
Type: text/x-patch
Size: 7542 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201211/979114d2/attachment.bin>
More information about the llvm-commits
mailing list