[all-commits] [llvm/llvm-project] 9a96b0: [flang][openacc] Generate pre/post alloc/dealloc f...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Wed Aug 16 13:04:47 PDT 2023

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

  Changed paths:
    M flang/lib/Lower/OpenACC.cpp
    M flang/test/Lower/OpenACC/acc-declare.f90

  Log Message:
  [flang][openacc] Generate pre/post alloc/dealloc function for in subroutine declare

Lowering was missing to generate the pre/post alloc/dealloc
functions for the acc declare variables. This patch adds the generation.
These functions have the descriptor as their unique argument.

Reviewed By: razvanlupusoru

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

More information about the All-commits mailing list