[PATCH] D84481: [flang][openacc] Handle optional end directive in combined construct

Valentin Clement via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 23 18:24:32 PDT 2020


clementval created this revision.
clementval added reviewers: sscalpone, ichoyjx, DavidTruby, jdoerfert.
Herald added subscribers: llvm-commits, sstefan1.
Herald added a project: LLVM.

OpenACC combined construct can have an optional end directive. This patch handle this
case from the parsing to the pre-fir tree with a canonicalization step.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D84481

Files:
  flang/include/flang/Lower/OpenACC.h
  flang/include/flang/Lower/PFTBuilder.h
  flang/include/flang/Parser/parse-tree.h
  flang/lib/Lower/OpenACC.cpp
  flang/lib/Parser/executable-parsers.cpp
  flang/lib/Parser/openacc-parsers.cpp
  flang/lib/Parser/program-parsers.cpp
  flang/lib/Parser/type-parsers.h
  flang/lib/Parser/unparse.cpp
  flang/lib/Semantics/canonicalize-acc.cpp
  flang/lib/Semantics/check-acc-structure.cpp
  flang/test/Lower/pre-fir-tree05.f90
  flang/test/Semantics/acc-canonicalization-validity.f90
  flang/test/Semantics/acc-clause-validity.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84481.280309.patch
Type: text/x-patch
Size: 16124 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200724/11d4069f/attachment.bin>


More information about the llvm-commits mailing list