[PATCH] D92672: [flang][openacc] Enforce restriction on routine directive and clauses

Valentin Clement via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 4 10:34:05 PST 2020


clementval created this revision.
clementval added reviewers: sscalpone, kiranktp, SouraVX, kiranchandramohan, sameeranjoshi.
Herald added a subscriber: jfb.
clementval requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch add some checks for the restriction on the routine directive
and fix several issue at the same time.

Validity tests have been added in a separate file than acc-clause-validity.f90 since this one
became quite large. I plan to split the larger file once on-going review are done.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D92672

Files:
  flang/include/flang/Parser/dump-parse-tree.h
  flang/include/flang/Parser/parse-tree.h
  flang/lib/Parser/openacc-parsers.cpp
  flang/lib/Parser/unparse.cpp
  flang/lib/Semantics/check-acc-structure.cpp
  flang/lib/Semantics/resolve-directives.cpp
  flang/test/Semantics/acc-clause-validity.f90
  flang/test/Semantics/acc-routine-validity.f90
  llvm/include/llvm/Frontend/OpenACC/ACC.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92672.309577.patch
Type: text/x-patch
Size: 12752 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201204/809eb1bf/attachment.bin>


More information about the llvm-commits mailing list