This is an archive of the discontinued LLVM Phabricator instance.

[flang] Simplify same_type_as condition
ClosedPublic

Authored by clementval on Mar 9 2023, 2:30 AM.

Details

Summary

Restore the behavior changed in D145384 and add proper
unit tests.

Unallocated unlimited poymorphic allocatable and disassociated
unlimited polymorphic pointer should return false.

Diff Detail

Event Timeline

clementval created this revision.Mar 9 2023, 2:30 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 9 2023, 2:30 AM
Herald added a subscriber: sunshaoce. · View Herald Transcript
clementval requested review of this revision.Mar 9 2023, 2:30 AM
PeteSteinfeld accepted this revision.Mar 9 2023, 6:19 AM

All builds and tests successfully and looks good.

This revision is now accepted and ready to land.Mar 9 2023, 6:19 AM
This revision was automatically updated to reflect the committed changes.