This is an archive of the discontinued LLVM Phabricator instance.

[flang][hlfir] Use complete form of DesignateOp for im/re array designators.
ClosedPublic

Authored by vzakhari on May 17 2023, 10:51 PM.

Details

Summary

With this change, the lowering provides full slice triples for
designators like ...%array_comp%im/re, so that the codegen
does not have to figure it out for the array_comp.
Basically, ...%array_comp%im/re is lowered the same way
as ...%array_comp(:,:,...)%im/re.

Diff Detail

Event Timeline

vzakhari created this revision.May 17 2023, 10:51 PM
vzakhari requested review of this revision.May 17 2023, 10:51 PM
jeanPerier accepted this revision.May 19 2023, 1:02 AM

LGTM, thanks!

This revision is now accepted and ready to land.May 19 2023, 1:02 AM