[flang] Perform polymorphic pointer association with runtime call
authorValentin Clement <clementval@gmail.com>
Mon, 12 Dec 2022 13:04:17 +0000 (14:04 +0100)
committerValentin Clement <clementval@gmail.com>
Mon, 12 Dec 2022 13:05:14 +0000 (14:05 +0100)
commit40cb4fd0b9c9088de79435d829314fcd32ba2779
tree752d1804931a40531ff577ee0101a3c0ec71514d
parentd7ee19d1639a8fd01337605ea62d762e8c08d7cd
[flang] Perform polymorphic pointer association with runtime call

pointer association to a polymorphic pointer needs to potentially
update the element size in the descriptor. Update the pointer association
to polymoprhic pointer with a runtime call to PointerAssociate.

Reviewed By: jeanPerier

Differential Revision: https://reviews.llvm.org/D139825
flang/lib/Lower/Bridge.cpp
flang/test/Lower/pointer-association-polymorphic.f90