[PATCH] D82176: [flang][OpenMP] Added parser support for Iterators (OpenMP 5.0) and updated depend clause
Kiran Kumar T P via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 19 04:49:23 PDT 2020
kiranktp created this revision.
kiranktp added reviewers: tskeith, klausler, kiranchandramohan, DavidTruby, richard.barton.arm, jdoerfert, anchu-rajendran.
kiranktp added projects: Flang, LLVM.
Herald added subscribers: sstefan1, guansong, yaxunl.
This patch adds parser support for Iterators [OpenMP 5.0] and updated depend clause to include Iterators.
2.1.6 Iterators
iterator(iterators-definition)
where iterators-definition is
iterator-specifier [, iterators-definition ]
where iterator-specifier is
[ iterator-type :: ] identifier = range-specification
2.18.11 depend Clause
depend([depend-modifier,]dependence-type : locator-list)
where dependence-type is
in out inout mutexinoutset inoutset depobj
where depend-modifier is
iterator(iterators-definition)
The patch includes code changes and testcase modifications.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D82176
Files:
flang/include/flang/Parser/dump-parse-tree.h
flang/include/flang/Parser/parse-tree.h
flang/include/flang/Semantics/scope.h
flang/lib/Parser/expr-parsers.h
flang/lib/Parser/openmp-parsers.cpp
flang/lib/Parser/unparse.cpp
flang/lib/Semantics/resolve-names.cpp
flang/test/Semantics/omp-clause-validity01.f90
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82176.272005.patch
Type: text/x-patch
Size: 11637 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200619/b378f51d/attachment.bin>
More information about the llvm-commits
mailing list