[all-commits] [llvm/llvm-project] e8824e: [flang][openacc] Relax required clauses on acc dat...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Tue Aug 29 14:58:17 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e8824e05e3bd4324884bd1c9d6820cbb1e156da3
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2023-08-29 (Tue, 29 Aug 2023)

  Changed paths:
    M flang/docs/OpenACC.md
    M flang/lib/Lower/OpenACC.cpp
    M flang/lib/Semantics/check-acc-structure.cpp
    M flang/lib/Semantics/check-directive-structure.h
    M flang/test/Lower/OpenACC/acc-data.f90
    M flang/test/Semantics/OpenACC/acc-data.f90

  Log Message:
  [flang][openacc] Relax required clauses on acc data as portability warning

Some compilers accept `!$acc data` without any clauses. For portability
reason, this patch relaxes the strict error to a simple portability warning.

Reviewed By: razvanlupusoru, vzakhari

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

More information about the All-commits mailing list