[flang] Lower more pointer assignments/disassociation cases
authorValentin Clement <clementval@gmail.com>
Tue, 15 Mar 2022 20:57:30 +0000 (21:57 +0100)
committerValentin Clement <clementval@gmail.com>
Tue, 15 Mar 2022 20:58:33 +0000 (21:58 +0100)
commita1425019e7207e8dc53e627aacfd547415a10b35
treedcf6701bf0b003dc43d107b0899a49fd748b13b2
parenta2db7d5e9c52804544363ea819de174bfaa7ecdd
[flang] Lower more pointer assignments/disassociation cases

This patch lowers more cases of pointer assignments and
disassociations.

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: PeteSteinfeld, schweitz

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

Co-authored-by: V Donaldson <vdonaldson@nvidia.com>
Co-authored-by: Jean Perier <jperier@nvidia.com>
Co-authored-by: mleair <leairmark@gmail.com>
Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
17 files changed:
flang/include/flang/Lower/AbstractConverter.h
flang/include/flang/Lower/ConvertVariable.h
flang/include/flang/Lower/SymbolMap.h
flang/lib/Lower/Bridge.cpp
flang/lib/Lower/ConvertExpr.cpp
flang/lib/Lower/ConvertVariable.cpp
flang/lib/Lower/IntrinsicCall.cpp
flang/lib/Lower/SymbolMap.cpp
flang/test/Lower/nullify.f90 [new file with mode: 0644]
flang/test/Lower/pointer-assignments.f90 [new file with mode: 0644]
flang/test/Lower/pointer-disassociate.f90 [new file with mode: 0644]
flang/test/Lower/pointer-initial-target-2.f90 [new file with mode: 0644]
flang/test/Lower/pointer-initial-target.f90 [new file with mode: 0644]
flang/test/Lower/pointer-reference.f90 [new file with mode: 0644]
flang/test/Lower/pointer-results-as-arguments.f90 [new file with mode: 0644]
flang/test/Lower/pointer-runtime.f90 [new file with mode: 0644]
flang/test/Lower/pointer.f90 [new file with mode: 0644]