diff options
author | Slava Zakharin <szakharin@nvidia.com> | 2023-04-28 09:07:23 -0700 |
---|---|---|
committer | Slava Zakharin <szakharin@nvidia.com> | 2023-04-28 09:10:41 -0700 |
commit | 8c8fe11916b03887f89f04b216e0044f2a9cb505 (patch) | |
tree | 03e4039471375e026222cb7cb1649f058a277a64 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | |
parent | 6f01cb91d763f740339683e1bde029e9f9f3bdf4 (diff) | |
download | llvm-8c8fe11916b03887f89f04b216e0044f2a9cb505.zip llvm-8c8fe11916b03887f89f04b216e0044f2a9cb505.tar.gz llvm-8c8fe11916b03887f89f04b216e0044f2a9cb505.tar.bz2 |
[flang][hlfir] Fixed hlfir.assign codegen for polymorphic LHS.
The RHS cannot be casted to the LHS type, when LHS is polymorphic.
With this change we will use the RHS type for emboxing with special
hadling for i1 type.
I created https://github.com/llvm/llvm-project/issues/62419 for the
AllocaOp generated during HLFIRtoFir conversion.
Reviewed By: jeanPerier
Differential Revision: https://reviews.llvm.org/D149392
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions