This is an archive of the discontinued LLVM Phabricator instance.

[flang] Preserve component array lower bounds in folding
ClosedPublic

Authored by klausler on Sep 22 2022, 4:01 PM.

Details

Summary

When a component array of a named constant is extracted as
a constant value, ensure that the lower bounds of the array
are properly acquired from the declaration of the component.

Diff Detail

Build Status
Buildable 188308

Event Timeline

klausler created this revision.Sep 22 2022, 4:01 PM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Sep 22 2022, 4:01 PM
This revision is now accepted and ready to land.Sep 22 2022, 11:32 PM
This revision was automatically updated to reflect the committed changes.