diff options
| author | Jean Perier <jperier@nvidia.com> | 2023-04-25 09:03:55 +0200 |
|---|---|---|
| committer | Jean Perier <jperier@nvidia.com> | 2023-04-25 09:04:38 +0200 |
| commit | c203850ad55de6e1396d5735e4d9b56b66db9220 (patch) | |
| tree | 1cf819319eead87f1fdaf6db5bdf393c7ff7ebc4 /lldb/unittests/ScriptInterpreter/Python | |
| parent | 90cf1014243b2edec249cab7a0bfde1e8c0fdf1c (diff) | |
| download | llvm-c203850ad55de6e1396d5735e4d9b56b66db9220.zip llvm-c203850ad55de6e1396d5735e4d9b56b66db9220.tar.gz llvm-c203850ad55de6e1396d5735e4d9b56b66db9220.tar.bz2 | |
[flang][hlfir] Support fir.declare in AbstractResult pass
The AbstractResult pass replaces allocation of function result on the callee
side per an extra argument so that the allocation of the result can be
done on the caller stack.
It looks for the result allocation from the fir.return op, so it needs
to handle (in a transparent way) a fir.declare in the chain between the
allocation and the fir.return.
Reviewed By: vzakhari, clementval
Differential Revision: https://reviews.llvm.org/D149057
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
