[PATCH] D83326: [flang][openmp] Check clauses allowance with tablegen generated map
Valentin Clement via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 7 10:37:49 PDT 2020
clementval created this revision.
clementval added reviewers: DavidTruby, sscalpone, kiranchandramohan, ichoyjx.
Herald added subscribers: llvm-commits, aaron.ballman, sstefan1, guansong, hiraditya, yaxunl.
Herald added a reviewer: jdoerfert.
Herald added a project: LLVM.
This patch is enabling the generation of clauses enum sets for semantics check in Flang through
tablegen. Enum sets and directive - sets map is generated by the new tablegen infrsatructure for OpenMP
and other directive languages.
The semantic checks for OpenMP are modified to use this newly generated map.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D83326
Files:
flang/lib/Semantics/check-omp-structure.cpp
flang/lib/Semantics/check-omp-structure.h
flang/test/Semantics/omp-clause-validity01.f90
llvm/include/llvm/Frontend/Directive/DirectiveBase.td
llvm/include/llvm/Frontend/OpenMP/OMP.td
llvm/lib/Frontend/OpenMP/OMPConstants.cpp
llvm/test/TableGen/directive1.td
llvm/test/TableGen/directive2.td
llvm/utils/TableGen/DirectiveEmitter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83326.276135.patch
Type: text/x-patch
Size: 75244 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200707/ca91a759/attachment.bin>
More information about the llvm-commits
mailing list