[all-commits] [llvm/llvm-project] 3bcc28: [flang][openacc] Lower data construct operand to d...

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

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3bcc28becd403f80099d1774e1f02705f785ceaf
  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-data-operands.f90
    M flang/test/Lower/OpenACC/acc-data.f90

  Log Message:
  [flang][openacc] Lower data construct operand to data operand operations

This patch lowers the data clause on the OpenACC data construct
to their corresponding acc data operand operation.
The copy clause is decomposed into acc.copyin before and acc.copyout after
the acc.data operation.
The copyout close is decomposed into acc.create before and acc.copyout after
the acc.data operation.
The attach clause is decomposed into acc.attach before and acc.detach after
the acc.data operation.

Depends on D149601

Reviewed By: jeanPerier

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

More information about the All-commits mailing list