[all-commits] [llvm/llvm-project] ac8c03: [flang][openacc] Lower data clause on compute cons...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Thu May 4 11:15:38 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ac8c032c85fc9cd063bd44a6dbaee8e4f9ae745c
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2023-05-04 (Thu, 04 May 2023)

  Changed paths:
    M flang/lib/Lower/OpenACC.cpp
    M flang/test/Lower/OpenACC/acc-kernels-loop.f90
    M flang/test/Lower/OpenACC/acc-kernels.f90
    M flang/test/Lower/OpenACC/acc-parallel-loop.f90
    M flang/test/Lower/OpenACC/acc-parallel.f90
    M flang/test/Lower/OpenACC/acc-serial-loop.f90
    M flang/test/Lower/OpenACC/acc-serial.f90

  Log Message:
  [flang][openacc] Lower data clause on compute construct to data operand ops

This patch lowers the data clause on the OpenACC compute construct
to their corresponding acc data operand operation.
The decomposition is the same as in D149673.

Note that `private` and `firstprivate` are not lowered to data operand operation as they do not have one and will likely have dedicated design/process.

Depends on D149673

Reviewed By: razvanlupusoru, jeanPerier

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

More information about the All-commits mailing list