diff options
author | Slava Zakharin <szakharin@nvidia.com> | 2023-06-02 14:20:21 -0700 |
---|---|---|
committer | Slava Zakharin <szakharin@nvidia.com> | 2023-06-02 14:45:34 -0700 |
commit | 1c8b7c5299710b3d02cebbdef34c41157f3237f2 (patch) | |
tree | d61c4c1a4bd2d1634e04585050f233d109f98d24 /llvm/lib/IR/BasicBlock.cpp | |
parent | 99dc68387bc0071fb01050e90c4359307beba92e (diff) | |
download | llvm-1c8b7c5299710b3d02cebbdef34c41157f3237f2.zip llvm-1c8b7c5299710b3d02cebbdef34c41157f3237f2.tar.gz llvm-1c8b7c5299710b3d02cebbdef34c41157f3237f2.tar.bz2 |
[flang][hlfir] Added allocatable/pointer support in hlfir::convertToValue.
The code is used, for example, when passing arguments to IO or intrinsic
calls as value. The allocatable/pointer boxes must be dereferenced,
and trivial values have to be loaded. Character and derived values
have to stay boxed.
I am not sure what to do for the array cases, and I have not seen
any test triggering it, so I leave it as a TODO.
Reviewed By: tblah, clementval
Differential Revision: https://reviews.llvm.org/D151925
Diffstat (limited to 'llvm/lib/IR/BasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions