[flang][openacc] Add support for allocatable and pointer in data operand
authorValentin Clement <clementval@gmail.com>
Wed, 26 Apr 2023 04:05:53 +0000 (21:05 -0700)
committerValentin Clement <clementval@gmail.com>
Wed, 26 Apr 2023 04:06:26 +0000 (21:06 -0700)
commit1b7c6cc688071b08e206669a2340f8390f0adf7a
tree3b4c2c5a6da92cac372325bd9df8b9a991f9d33b
parent7f96ce5e133be54891af177adbf8952d413e0f85
[flang][openacc] Add support for allocatable and pointer in data operand

Add lowering support for allocatable and pointer array sections
to acc.bounds and acc data operations.

Reviewed By: razvanlupusoru

Differential Revision: https://reviews.llvm.org/D149189
flang/lib/Lower/OpenACC.cpp
flang/test/Lower/OpenACC/acc-enter-data.f90