[all-commits] [llvm/llvm-project] e73d8c: [flang][openacc] Semantic check for cache directive

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Wed Nov 25 07:28:35 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e73d8c793a5028b8ba93b9b9a82d059760c3ec4d
      https://github.com/llvm/llvm-project/commit/e73d8c793a5028b8ba93b9b9a82d059760c3ec4d
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2020-11-25 (Wed, 25 Nov 2020)

  Changed paths:
    M flang/lib/Semantics/check-acc-structure.cpp
    M flang/lib/Semantics/check-acc-structure.h
    M flang/lib/Semantics/resolve-directives.cpp
    M flang/test/Semantics/acc-clause-validity.f90

  Log Message:
  -----------
  [flang][openacc] Semantic check for cache directive

Add semantic check for the cache directive. According to section 2.10 from the specification:
A var in a cache directive must be a single array element or a simple subarray.

Reviewed By: kiranchandramohan

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




More information about the All-commits mailing list