[all-commits] [llvm/llvm-project] 4536c6: [flang][OpenMP] Enhance parser support for atomic ...
Kiran Kumar T P via All-commits
all-commits at lists.llvm.org
Mon Sep 7 18:22:33 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 4536c6acb3809eaadc836f24f091db1b50b82af9
https://github.com/llvm/llvm-project/commit/4536c6acb3809eaadc836f24f091db1b50b82af9
Author: Kiran Kumar T P <kirankumar.tp at amd.com>
Date: 2020-09-08 (Tue, 08 Sep 2020)
Changed paths:
M flang/docs/OpenMP-4.5-grammar.txt
M flang/include/flang/Parser/dump-parse-tree.h
M flang/include/flang/Parser/parse-tree.h
M flang/lib/Parser/openmp-parsers.cpp
M flang/lib/Parser/unparse.cpp
M flang/test/Semantics/omp-atomic.f90
Log Message:
-----------
[flang][OpenMP] Enhance parser support for atomic construct to OpenMP 5.0
Summary:
This patch enhances parser support for atomic construct to OpenMP 5.0.
2.17.7 atomic -> ATOMIC [clause [,]] atomic-clause [[,] clause] |
ATOMIC [clause]
clause -> memory-order-clause | HINT(hint-expression)
memory-order-clause -> SEQ_CST | ACQ_REL | RELEASE | ACQUIRE | RELAXED
atomic-clause -> READ | WRITE | UPDATE | CAPTURE
The patch includes code changes and testcase modifications.
Reviewed By: DavidTruby, kiranchandramohan, sameeranjoshi
Differential Revision: https://reviews.llvm.org/D82931
More information about the All-commits
mailing list