This is an archive of the discontinued LLVM Phabricator instance.

[flang] Lower simple character return
ClosedPublic

Authored by clementval on Feb 25 2022, 5:31 AM.

Details

Summary

Handles function with character return.

Character scalar results are passed as arguments in lowering so
that an assumed length character function callee can access the result
length.

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

Diff Detail

Event Timeline

clementval created this revision.Feb 25 2022, 5:31 AM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: mehdi_amini. · View Herald Transcript
clementval requested review of this revision.Feb 25 2022, 5:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 25 2022, 5:31 AM
schweitz accepted this revision.Feb 25 2022, 8:40 AM
This revision is now accepted and ready to land.Feb 25 2022, 8:40 AM
PeteSteinfeld accepted this revision.Feb 25 2022, 8:42 AM

All builds and tests correctly and looks good.

This revision was automatically updated to reflect the committed changes.