This is an archive of the discontinued LLVM Phabricator instance.

[flang][hlfir] Lower whole allocatable or pointer component ref
ClosedPublic

Authored by jeanPerier on Jan 19 2023, 6:34 AM.

Details

Summary

Compare to other component ref lowering, the hlfir.designate result type
computation is different, and the allocatable/pointer/contiguous must
be set on the hlfir.designate so that the component attributes are
kept in the IR.

Diff Detail

Event Timeline

jeanPerier created this revision.Jan 19 2023, 6:34 AM
jeanPerier requested review of this revision.Jan 19 2023, 6:34 AM
PeteSteinfeld accepted this revision.Jan 19 2023, 6:41 AM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Jan 19 2023, 6:41 AM