[flang-commits] [PATCH] D89879: [Flang][OpenMP] Parsing and semantic changes for flush construct from OMP 5.0 specification.
sameeran joshi via Phabricator via flang-commits
flang-commits at lists.llvm.org
Mon Nov 2 10:32:19 PST 2020
sameeranjoshi updated this revision to Diff 302333.
sameeranjoshi added a comment.
This commit tries to get a workaround for not chaning the parser as well as adding semantic checks.
The function `FindClause` was used earlier to get information from context.
Above function works on clauses which come under `parser::OmpClause`, currently flush doesn't fall under it.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89879/new/
https://reviews.llvm.org/D89879
Files:
flang/lib/Semantics/check-omp-structure.cpp
flang/lib/Semantics/check-omp-structure.h
flang/test/Semantics/omp-clause-validity01.f90
flang/test/Semantics/omp-flush.f90
flang/test/Semantics/omp-flush01.f90
llvm/include/llvm/Frontend/OpenMP/OMP.td
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89879.302333.patch
Type: text/x-patch
Size: 7419 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20201102/e3437f57/attachment-0001.bin>
More information about the flang-commits
mailing list