[PATCH] D120558: [flang] Lower simple character return

Valentin Clement via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 25 05:31:25 PST 2022


clementval created this revision.
clementval added reviewers: jeanPerier, PeteSteinfeld, schweitz, svedanayagam, klausler.
Herald added a reviewer: sscalpone.
Herald added a subscriber: mehdi_amini.
Herald added a project: Flang.
clementval requested review of this revision.
Herald added subscribers: llvm-commits, jdoerfert.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D120558

Files:
  flang/lib/Lower/Bridge.cpp
  flang/lib/Lower/CallInterface.cpp
  flang/lib/Lower/ConvertVariable.cpp
  flang/test/Lower/basic-function.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120558.411389.patch
Type: text/x-patch
Size: 9725 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220225/26e057c4/attachment.bin>


More information about the llvm-commits mailing list