[all-commits] [llvm/llvm-project] 71699a: [flang][openacc] Enforce restriction on routine di...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Thu Dec 17 08:38:46 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 71699a998d4f648396a1a12820c0f04cc61f8e19
      https://github.com/llvm/llvm-project/commit/71699a998d4f648396a1a12820c0f04cc61f8e19
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2020-12-17 (Thu, 17 Dec 2020)

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

  Log Message:
  -----------
  [flang][openacc] Enforce restriction on routine directive and clauses

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.

Reviewed By: sameeranjoshi

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




More information about the All-commits mailing list