diff options
author | Valentin Clement <clementval@gmail.com> | 2023-02-21 20:31:56 +0100 |
---|---|---|
committer | Valentin Clement <clementval@gmail.com> | 2023-02-21 20:36:27 +0100 |
commit | 39ad49ec61c4b6d170a277d0ea5eee89f29a456c (patch) | |
tree | 0aa7fb3ac98374172930bd050ac2ff75384ca4d2 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | dbf7273a35ba07156f966b8536941b430db22f37 (diff) | |
download | llvm-39ad49ec61c4b6d170a277d0ea5eee89f29a456c.zip llvm-39ad49ec61c4b6d170a277d0ea5eee89f29a456c.tar.gz llvm-39ad49ec61c4b6d170a277d0ea5eee89f29a456c.tar.bz2 |
[flang] Make sure the length is propagated when emboxing a char to unlimited polymoprhic box
When passing a character with unknown length to a subroutine expecting
an unlimited polymorphic pointer, a new descriptor is created. The
fir.embox operation needs to carry over the length from the character
to be passed correctly.
Reviewed By: PeteSteinfeld
Differential Revision: https://reviews.llvm.org/D144488
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions