This is an archive of the discontinued LLVM Phabricator instance.

[flang] Use genExprBox for the rhs when calling PointerAssociate for unlimited polymorphic pointer
ClosedPublic

Authored by clementval on Dec 1 2022, 12:48 AM.

Details

Summary

In D139019 the assumption was made that the rhs was also the MutableBox
but this is not a constraint. Use genExprBox instead. Also the allowed
conversion in D139019 was not correct. Remoed it since it is not needed anymore.

Diff Detail

Event Timeline

clementval created this revision.Dec 1 2022, 12:48 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptDec 1 2022, 12:48 AM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
clementval requested review of this revision.Dec 1 2022, 12:48 AM
clementval updated this revision to Diff 479195.Dec 1 2022, 1:32 AM

clang-format

jeanPerier accepted this revision.Dec 1 2022, 1:43 AM

LGTM, thanks

This revision is now accepted and ready to land.Dec 1 2022, 1:43 AM