Page MenuHomePhabricator

[flang][OpenMP] Added parser support for Iterators (OpenMP 5.0) and updated depend clause
Needs ReviewPublic

Authored by kiranktp on Jun 19 2020, 4:30 AM.



This patch adds parser support for Iterators [OpenMP 5.0] and updated depend clause to include Iterators.

2.1.6 Iterators

		where iterators-definition is
		iterator-specifier [, iterators-definition ]
		where iterator-specifier is
		[ iterator-type :: ] identifier = range-specification

2.17.11 depend Clause
depend([depend-modifier,]dependence-type : locator-list)

		where dependence-type is
		in out inout mutexinoutset depobj
		where depend-modifier is

The patch includes code changes and testcase modifications.

Diff Detail

Event Timeline

kiranktp created this revision.Jun 19 2020, 4:30 AM
kiranktp updated this revision to Diff 272031.Jun 19 2020, 5:36 AM

Corrected the test case

kiranktp updated this revision to Diff 272670.Jun 23 2020, 4:17 AM
kiranktp edited the summary of this revision. (Show Details)

Corrected the section number to 2.17.11 [From OpenMP 5.0] for Depend clause.
Removed the dependence type (inoutset) which is from OpenMP 5.1.

DavidTruby resigned from this revision.Sep 30 2020, 5:36 AM