[all-commits] [llvm/llvm-project] 05169a: [flang][openacc] Handle optional end directive in ...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Thu Aug 13 11:05:22 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 05169af5cea2c3b9aa0f38354d0e81ddf6b7a3d9
      https://github.com/llvm/llvm-project/commit/05169af5cea2c3b9aa0f38354d0e81ddf6b7a3d9
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2020-08-13 (Thu, 13 Aug 2020)

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

  Log Message:
  -----------
  [flang][openacc] Handle optional end directive in combined construct

OpenACC combined construct can have an optional end directive. This patch handle this
case in the parsing/unparsing with a canonicalization step. Unlike OmpEndLoopDirective,
this doesn't need a special treatment in the pre-fir tree as there is no clause attached to
a AccEndCombinedDirective.

Reviewed By: klausler

Differential Revision: https://reviews.llvm.org/D84481




More information about the All-commits mailing list