[all-commits] [llvm/llvm-project] 9914a8: [flang][openacc] Add parsing tests and semantic ch...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Thu Nov 5 19:59:07 PST 2020


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

  Changed paths:
    M flang/test/Semantics/acc-clause-validity.f90
    M llvm/include/llvm/Frontend/OpenACC/ACC.td
    M llvm/include/llvm/TableGen/DirectiveEmitter.h
    M llvm/utils/TableGen/DirectiveEmitter.cpp

  Log Message:
  -----------
  [flang][openacc] Add parsing tests and semantic check for set directive

This patch add some parsing and clause validity tests for the set directive.
It makes use of the possibility introduces in patch D90770 to check the restriction
were one of the default_async, device_num and device_type clauses is required but also
not more than once on the set directive.

Reviewed By: sameeranjoshi

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




More information about the All-commits mailing list