[all-commits] [llvm/llvm-project] 58e814: [flang][openacc] Use original input for base addre...
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Thu Feb 8 08:49:22 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 58e8147d1690485ed0a6fcb59c7b6ea4b8cd2936
https://github.com/llvm/llvm-project/commit/58e8147d1690485ed0a6fcb59c7b6ea4b8cd2936
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-02-08 (Thu, 08 Feb 2024)
Changed paths:
M flang/lib/Lower/DirectivesCommon.h
M flang/lib/Lower/OpenACC.cpp
M flang/test/Lower/OpenACC/acc-bounds.f90
Log Message:
-----------
[flang][openacc] Use original input for base address with optional (#80931)
In #80317 the data op generation was updated to use correctly the #0
result from the hlfir.delcare op. In case of optional that are not
descriptor, it is preferable to use the original input for the varPtr
value of the OpenACC data op.
This patch also make sure that the descriptor value of optional is only
accessed when present.
More information about the All-commits
mailing list