This is an archive of the discontinued LLVM Phabricator instance.

[flang] Lower elemental calls
ClosedPublic

Authored by clementval on Mar 14 2022, 9:11 AM.

Details

Summary

This patch adds more lowering of operations sub-expression inside elemental call arguments.
It tests array contexts where an address is needed for each element (for
the argument), but part of the array sub-expression must be lowered by value
(for the operation)

This patch is part of the upstreaming effort from fir-dev branch.

Diff Detail

Event Timeline

clementval created this revision.Mar 14 2022, 9:11 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 14 2022, 9:11 AM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
clementval requested review of this revision.Mar 14 2022, 9:11 AM
PeteSteinfeld accepted this revision.Mar 14 2022, 9:37 AM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Mar 14 2022, 9:37 AM
This revision was automatically updated to reflect the committed changes.