[PATCH] D90184: [flang][openacc] Semantic check for cache directive

Valentin Clement via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 26 12:07:37 PDT 2020


clementval created this revision.
clementval added reviewers: kiranchandramohan, kiranktp, SouraVX, jdoerfert, tskeith, klausler.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
clementval requested review of this revision.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D90184

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90184.300757.patch
Type: text/x-patch
Size: 6325 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201026/fb02680c/attachment.bin>


More information about the llvm-commits mailing list