[all-commits] [llvm/llvm-project] 4df2a5: [flang][openacc] Add check for tile clause restric...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Thu Aug 27 19:14:07 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4df2a5f782db1d4e2e11ed1cf64e085e6fce7893
      https://github.com/llvm/llvm-project/commit/4df2a5f782db1d4e2e11ed1cf64e085e6fce7893
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2020-08-27 (Thu, 27 Aug 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/Semantics/canonicalize-acc.cpp
    M flang/test/Semantics/acc-canonicalization-validity.f90
    M flang/test/Semantics/acc-clause-validity.f90
    M llvm/include/llvm/Frontend/OpenACC/ACC.td

  Log Message:
  -----------
  [flang][openacc] Add check for tile clause restriction

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.

Reviewed By: klausler

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




More information about the All-commits mailing list