[all-commits] [llvm/llvm-project] 0b837e: [flang][openacc] Fix declare attribute for device_...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Wed Aug 9 11:08:46 PDT 2023


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

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

  Log Message:
  -----------
  [flang][openacc] Fix declare attribute for device_resident, link and deviceptr

When creating declare entry operation, the variable needs to be flagged
with the declare attribute. This was not done for device_resident, link and
deviceptr.

Reviewed By: razvanlupusoru

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




More information about the All-commits mailing list