This is an archive of the discontinued LLVM Phabricator instance.

[flang][hlfir] Array constructor lowering [part 4/4]
ClosedPublic

Authored by jeanPerier on Feb 22 2023, 3:09 AM.

Details

Summary

Enable character and derived type array constructor lowering.
Nothing special needs to be done other than lowering the types
before the array constructor lowering.
Derived type are forced to use the runtime for now to avoid
undesired usage of user defined assignment that hlfir.assign
may trigger when using the runtime.

Depends on D144513

Diff Detail

Event Timeline

jeanPerier created this revision.Feb 22 2023, 3:09 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 22 2023, 3:09 AM
jeanPerier requested review of this revision.Feb 22 2023, 3:09 AM

Things generally look OK, but my "arc patch" command could not create a version of this patch in my sandbox, so I'm reluctant to approve. Presumably it got confused while resolving the dependencies on other patches.

This revision is now accepted and ready to land.Feb 23 2023, 11:26 AM
This revision was automatically updated to reflect the committed changes.