This is an archive of the discontinued LLVM Phabricator instance.

[flang][hlfir] Codegen for polymorphic hlfir.elemental.
ClosedPublic

Authored by vzakhari on Aug 7 2023, 11:36 AM.

Details

Summary

The polymorphic temporary array is created using the provided mold
and the shape of the hlfir.elemental. The array is allocated right away,
because it is going to be initialized element per element.

Depends on D157315

Diff Detail

Event Timeline

vzakhari created this revision.Aug 7 2023, 11:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 7 2023, 11:36 AM
vzakhari requested review of this revision.Aug 7 2023, 11:36 AM
This revision is now accepted and ready to land.Aug 7 2023, 1:13 PM
vzakhari updated this revision to Diff 547987.Aug 7 2023, 4:11 PM
  • Fixed lit test.
tblah accepted this revision.Aug 8 2023, 2:27 AM

LGTM, thanks

This revision was automatically updated to reflect the committed changes.