[PATCH] D86655: [flang][openacc] Add check for tile clause restriction

Valentin Clement via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 26 13:01:40 PDT 2020


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

The tile clause in OpenACC 3.0 imposes some restriction. Element in the tile size list are either * or a
constant positive integer expression. If there are n tile sizes in the list, the loop construct must be immediately 
followed by n tightly-nested loops.
This patch implement these restrictions and add some tests.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86655

Files:
  flang/include/flang/Parser/dump-parse-tree.h
  flang/include/flang/Parser/parse-tree.h
  flang/lib/Parser/openacc-parsers.cpp
  flang/lib/Semantics/canonicalize-acc.cpp
  flang/test/Semantics/acc-canonicalization-validity.f90
  flang/test/Semantics/acc-clause-validity.f90
  llvm/include/llvm/Frontend/OpenACC/ACC.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86655.288089.patch
Type: text/x-patch
Size: 7184 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200826/f5a7153d/attachment.bin>


More information about the llvm-commits mailing list