[flang-commits] [PATCH] D82931: [flang][OpenMP] Enhance parser support for atomic construct to OpenMP 5.0
Kiran Kumar T P via Phabricator via flang-commits
flang-commits at lists.llvm.org
Tue Jun 30 22:43:08 PDT 2020
kiranktp created this revision.
kiranktp added reviewers: tskeith, klausler, kiranchandramohan, DavidTruby, richard.barton.arm, jdoerfert, anchu-rajendran, sameeranjoshi, PeteSteinfeld.
kiranktp added projects: Flang, LLVM.
Herald added subscribers: sstefan1, jfb, guansong, yaxunl.
kiranktp added a reviewer: shivarama_rao.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D82931
Files:
flang/documentation/OpenMP-4.5-grammar.txt
flang/include/flang/Parser/dump-parse-tree.h
flang/include/flang/Parser/parse-tree.h
flang/lib/Parser/openmp-parsers.cpp
flang/lib/Parser/unparse.cpp
flang/test/Semantics/omp-atomic.f90
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82931.274682.patch
Type: text/x-patch
Size: 16329 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20200701/f4fc99dd/attachment.bin>
More information about the flang-commits
mailing list