[all-commits] [llvm/llvm-project] 6b8bf9: [flang][openacc] Enforce restriction on attach and...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Tue Jun 1 11:37:35 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b8bf9494c4601da44f432b13c644615a91edce5
      https://github.com/llvm/llvm-project/commit/6b8bf9494c4601da44f432b13c644615a91edce5
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2021-06-01 (Tue, 01 Jun 2021)

  Changed paths:
    M flang/lib/Semantics/resolve-directives.cpp
    M flang/test/Semantics/OpenACC/acc-data.f90
    M flang/test/Semantics/OpenACC/acc-kernels-loop.f90
    M flang/test/Semantics/OpenACC/acc-kernels.f90
    M flang/test/Semantics/OpenACC/acc-parallel.f90
    M flang/test/Semantics/OpenACC/acc-serial.f90

  Log Message:
  -----------
  [flang][openacc] Enforce restriction on attach and detach variables

Each var argument to an attach or detach clause must be a
Fortran variable or array with the pointer or allocatable attribute.
This patch enforce this restruction.

Reviewed By: kiranchandramohan

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




More information about the All-commits mailing list