[all-commits] [llvm/llvm-project] 939bda: [flang][openacc] Attach attribute only when there ...

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

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

  Changed paths:
    M flang/lib/Lower/OpenACC.cpp

  Log Message:
  [flang][openacc] Attach attribute only when there is an exit operation

Not all declare clause have an exit operation attach to them and
therefore no dealloc function generated. Attach
the pre/post deallocation attribute only for the clauses that have
an exit operation.

Reviewed By: razvanlupusoru

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

More information about the All-commits mailing list