HomePhabricator

[Flang][OpenMP] Semantic checks for Atomic construct.

Authored by sameeranjoshi on Dec 13 2020, 11:11 PM.

Description

[Flang][OpenMP] Semantic checks for Atomic construct.

Patch implements restrictions from 2.17.7 of OpenMP 5.0 standard for atomic Construct. Tests for the same are added.

One of the restriction
OpenMP constructs may not be encountered during execution of an atomic region.
Is mentioned in 5.0 standard to be a semantic restriction, but given the stricter nature of parser in F18 it's caught at parsing itself.

This patch is a next patch in series from D88965.

Reviewed By: clementval

Differential Revision: https://reviews.llvm.org/D89583

Details

Committed
sameeranjoshiDec 13 2020, 11:33 PM
Reviewer
clementval
Differential Revision
D89583: [Flang][OpenMP] Semantic checks for Atomic construct.
Parents
rG2acd5a473860: [LoopIdiom] Pre-commit tests for D92745. NFC
Branches
Unknown
Tags
Unknown