This is an archive of the discontinued LLVM Phabricator instance.

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

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

Details

Summary

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.17.11 depend Clause
depend([depend-modifier,]dependence-type : locator-list)

		where dependence-type is
		in out inout mutexinoutset depobj
		where depend-modifier is
		iterator(iterators-definition)

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
Herald added a project: Restricted Project. · View Herald TranscriptMay 18 2022, 10:57 PM